[all-commits] [llvm/llvm-project] 00d982: [ModuleInliner] Move getInlineCostWrapper to an an...

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Sep 18 14:09:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00d982699bcc36408042cd749e34fb09a7c8f93f
      https://github.com/llvm/llvm-project/commit/00d982699bcc36408042cd749e34fb09a7c8f93f
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-18 (Sun, 18 Sep 2022)

  Changed paths:
    M llvm/lib/Analysis/InlineOrder.cpp

  Log Message:
  -----------
  [ModuleInliner] Move getInlineCostWrapper to an anonymous namespace (NFC)

This patch moves getInlineCostWrapper to an anonymous namespace.
While I am at it, I'm moving the function closer to the beginning of
the file so that I can use it elsewhere in the file without a forward
declaration.




More information about the All-commits mailing list