[llvm] [CGData] Stable Function Map (PR #112662)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 27 00:07:29 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 0dd9fdcf83cd00f51669b32c96937a97ef4b339e 7d9dc40d621c0d9ee36e2570ad2fbbeb80f8c58b --extensions cpp,h -- llvm/include/llvm/CGData/StableFunctionMap.h llvm/include/llvm/CGData/StableFunctionMapRecord.h llvm/lib/CGData/StableFunctionMap.cpp llvm/lib/CGData/StableFunctionMapRecord.cpp llvm/unittests/CGData/StableFunctionMapRecordTest.cpp llvm/unittests/CGData/StableFunctionMapTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/unittests/CGData/StableFunctionMapTest.cpp b/llvm/unittests/CGData/StableFunctionMapTest.cpp
index 5195c1ff5c..839b997cda 100644
--- a/llvm/unittests/CGData/StableFunctionMapTest.cpp
+++ b/llvm/unittests/CGData/StableFunctionMapTest.cpp
@@ -145,7 +145,8 @@ TEST(StableFunctionMap, Finalize3) {
auto &FuncEntries = M.begin()->second;
for (auto &FuncEntry : FuncEntries) {
EXPECT_THAT(*FuncEntry->IndexOperandHashMap, SizeIs(1));
- ASSERT_THAT(*FuncEntry->IndexOperandHashMap, Not(Contains(Key(Pair(1, 1)))));
+ ASSERT_THAT(*FuncEntry->IndexOperandHashMap,
+ Not(Contains(Key(Pair(1, 1)))));
}
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/112662
More information about the llvm-commits
mailing list