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 48bf0a9457fd60d0872d9b9b4804a95c833a72e1
21873d01238f8da0eb0f19656801347400afae65 --extensions h,cpp --
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/lib/ASTMatchers/ASTMatchersInternal.cpp
clang/lib/ASTMatchers/Dynamic/Registry.cpp
clang/unittests/AST/ASTImporterTest.cpp
clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
b/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
index 0a5ecd2943..6dfa3d9c09 100644
--- a/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
+++ b/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
@@ -1913,7 +1913,7 @@ TEST_P(ASTMatchersTest,
DeducedTemplateSpecializationType) {
}
TEST_P(ASTMatchersTest, DependentNameType) {
- if (!GetParam().isCXX()) {
+ if (!GetParam().isCXX()) {
// FIXME: Add a test for `dependentNameType()` that does not depend on C++.
return;
}
@@ -1924,7 +1924,7 @@ TEST_P(ASTMatchersTest, DependentNameType) {
typedef typename T::type dependent_name;
};
)",
- dependentNameType()));
+ dependentNameType()));
}
TEST_P(ASTMatchersTest, RecordType) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/121263
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits