[llvm] [NFCI] Avoid adding duplicated SpecialCaseList::Sections. (PR #140478)

via llvm-commits llvm-commits at lists.llvm.org
Sun May 18 13:55:06 PDT 2025


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 HEAD~1 HEAD --extensions cpp -- llvm/lib/Support/SpecialCaseList.cpp llvm/unittests/Support/SpecialCaseListTest.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/unittests/Support/SpecialCaseListTest.cpp b/llvm/unittests/Support/SpecialCaseListTest.cpp
index 15dc0222a..f9185ea74 100644
--- a/llvm/unittests/Support/SpecialCaseListTest.cpp
+++ b/llvm/unittests/Support/SpecialCaseListTest.cpp
@@ -325,5 +325,4 @@ TEST_F(SpecialCaseListTest, Version3) {
   EXPECT_EQ(4u, SCL->inSectionBlame("sect1", "fun", "barz"));
   EXPECT_EQ(6u, SCL->inSectionBlame("sect2", "fun", "def"));
 }
-
 }

``````````

</details>


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


More information about the llvm-commits mailing list