[llvm] [MergeFunctions] Add support to run the pass over a set of function pointers (PR #111045)

via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 1 06:38:32 PDT 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 9043bdbce4ab1c6f07e72ddfedf7165bdf2b3e40 ce17acc603d32b1033c650083f00421fea4637c1 --extensions cpp,h -- llvm/unittests/Transforms/Utils/MergeFunctionsTest.cpp llvm/include/llvm/Transforms/IPO/MergeFunctions.h llvm/lib/Transforms/IPO/MergeFunctions.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/unittests/Transforms/Utils/MergeFunctionsTest.cpp b/llvm/unittests/Transforms/Utils/MergeFunctionsTest.cpp
index 696c5391ef..2f86ec6ed7 100644
--- a/llvm/unittests/Transforms/Utils/MergeFunctionsTest.cpp
+++ b/llvm/unittests/Transforms/Utils/MergeFunctionsTest.cpp
@@ -1,5 +1,5 @@
 //===- MergeFunctionsTest.cpp - Unit tests for
-//MergeFunctionsPass-----------===//
+// MergeFunctionsPass-----------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

``````````

</details>


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


More information about the llvm-commits mailing list