[BOLT] Rename BF::isParentFragment -> isChildOf
authorAmir Ayupov <aaupov@fb.com>
Thu, 9 Feb 2023 18:56:55 +0000 (10:56 -0800)
committerAmir Ayupov <aaupov@fb.com>
Thu, 9 Feb 2023 18:57:10 +0000 (10:57 -0800)
commite88122f5f10dfe0309dc9f0f5bc7a3cfa49586a9
tree44489543bf140cbe067ddddb936428a6d7041363
parent701109b9b626f380546e479b61bd3be672faed5e
[BOLT] Rename BF::isParentFragment -> isChildOf

`isChildOf` is a more concise name for the check. Also, there's no need to
test if the function is a fragment before doing `isChildOf` check.

Reviewed By: #bolt, rafauler, maksfb

Differential Revision: https://reviews.llvm.org/D142667
bolt/include/bolt/Core/BinaryFunction.h
bolt/lib/Core/BinaryContext.cpp
bolt/lib/Core/Exceptions.cpp