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 b301a98b33d75813d73838c1bd4c47024d044af6
ab818f8bea394662ccec4e686db79401d003bd37 --
clang/include/clang/Testing/CommandLineArgs.h
clang/include/clang/Testing/TestClangConfig.h
clang/lib/Testing/CommandLineArgs.cpp clang/unittests/AST/MatchVerifier.h
clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
clang/unittests/Tooling/Syntax/MutationsTest.cpp
clang/unittests/Tooling/Syntax/SynthesisTest.cpp
clang/unittests/Tooling/Syntax/TreeTest.cpp
clang/unittests/Tooling/Syntax/TreeTestBase.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/unittests/AST/MatchVerifier.h
b/clang/unittests/AST/MatchVerifier.h
index 4a574e3242..8bda039863 100644
--- a/clang/unittests/AST/MatchVerifier.h
+++ b/clang/unittests/AST/MatchVerifier.h
@@ -88,7 +88,7 @@ MatchVerifier<NodeType>::match(const std::string &Code,
StringRef FileName;
switch (L) {
-#define TESTLANGUAGE(lang, version, std_flag, version_index)
\
+#define TESTLANGUAGE(lang, version, std_flag, version_index)
\
case Lang_##lang##version:
\
Args.push_back("-std=" #std_flag);
\
FileName = getFilenameForTesting(Lang_##lang##version);
\
``````````
</details>
https://github.com/llvm/llvm-project/pull/94243
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits