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 origin/main HEAD --extensions cpp,h --
clang-tools-extra/clangd/CompileCommands.cpp
clang/unittests/Lex/PPMemoryAllocationsTest.cpp
lldb/include/lldb/Utility/ConstString.h lldb/source/Target/Statistics.cpp
lldb/source/Utility/ConstString.cpp llvm/include/llvm/Support/Allocator.h
llvm/include/llvm/Support/PerThreadBumpPtrAllocator.h
llvm/lib/TableGen/Record.cpp llvm/unittests/ADT/ConcurrentHashtableTest.cpp
llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp
llvm/unittests/Support/AllocatorTest.cpp
llvm/unittests/Support/PerThreadBumpPtrAllocatorTest.cpp
llvm/unittests/Support/ThreadSafeAllocatorTest.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/unittests/ADT/ConcurrentHashtableTest.cpp
b/llvm/unittests/ADT/ConcurrentHashtableTest.cpp
index 446b41795..a41f0e072 100644
--- a/llvm/unittests/ADT/ConcurrentHashtableTest.cpp
+++ b/llvm/unittests/ADT/ConcurrentHashtableTest.cpp
@@ -78,7 +78,6 @@ TEST(ConcurrentHashTableTest, AddStringEntries) {
// Check first entry is still valid.
EXPECT_TRUE(res1.first->getKey() == "1");
-
// Check statistic.
std::string StatisticString;
raw_string_ostream StatisticStream(StatisticString);
``````````
</details>
https://github.com/llvm/llvm-project/pull/205711
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits