[all-commits] [llvm/llvm-project] e88122: [BOLT] Rename BF::isParentFragment -> isChildOf

Amir Ayupov via All-commits all-commits at lists.llvm.org
Thu Feb 9 10:57:24 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e88122f5f10dfe0309dc9f0f5bc7a3cfa49586a9
      https://github.com/llvm/llvm-project/commit/e88122f5f10dfe0309dc9f0f5bc7a3cfa49586a9
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/lib/Core/BinaryContext.cpp
    M bolt/lib/Core/Exceptions.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list