[llvm] [CGData] Global Merge Functions (PR #112671)

via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 10 08:05:55 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff ffcf3c8688f57acaf6a404a1238673c9d197ba9a 1d2436e3c578ccf2e06fa708eef23c6dae75412d --extensions h,cpp -- llvm/include/llvm/CodeGen/GlobalMergeFunctions.h llvm/lib/CodeGen/GlobalMergeFunctions.cpp llvm/include/llvm/CGData/CodeGenData.h llvm/include/llvm/CodeGen/Passes.h llvm/include/llvm/InitializePasses.h llvm/include/llvm/LinkAllPasses.h llvm/include/llvm/Passes/CodeGenPassBuilder.h llvm/include/llvm/Target/CGPassBuilderOption.h llvm/lib/CodeGen/TargetPassConfig.cpp llvm/lib/Passes/PassBuilder.cpp llvm/lib/Passes/PassBuilderPipelines.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/include/llvm/CodeGen/GlobalMergeFunctions.h b/llvm/include/llvm/CodeGen/GlobalMergeFunctions.h
index 982a66270f..82239e04db 100644
--- a/llvm/include/llvm/CodeGen/GlobalMergeFunctions.h
+++ b/llvm/include/llvm/CodeGen/GlobalMergeFunctions.h
@@ -60,7 +60,7 @@ public:
   /// becomes a thunk supplying contexts to the merged function via parameters.
   static constexpr const char MergingInstanceSuffix[] = ".Tgm";
 
-  GlobalMergeFunc(const ModuleSummaryIndex *Index) : Index(Index){};
+  GlobalMergeFunc(const ModuleSummaryIndex *Index) : Index(Index) {};
 
   void initializeMergerMode(const Module &M);
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/112671


More information about the llvm-commits mailing list