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 -- 
clang/lib/Format/TokenAnnotator.cpp 
clang/unittests/Format/TokenAnnotatorTest.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/unittests/Format/TokenAnnotatorTest.cpp 
b/clang/unittests/Format/TokenAnnotatorTest.cpp
index 7e9b9c24f..98a570a42 100644
--- a/clang/unittests/Format/TokenAnnotatorTest.cpp
+++ b/clang/unittests/Format/TokenAnnotatorTest.cpp
@@ -2382,7 +2382,8 @@ TEST_F(TokenAnnotatorTest, 
UnderstandsCtorAndDtorDeclNames) {
   EXPECT_TOKEN(Tokens[17], tok::l_paren, TT_FunctionDeclarationLParen);
   EXPECT_TOKEN(Tokens[19], tok::l_brace, TT_FunctionLBrace);
 
-  Tokens = annotate("template <typename V> template<typename W> Foo<V>::Foo(W 
x) {}");
+  Tokens = annotate(
+      "template <typename V> template<typename W> Foo<V>::Foo(W x) {}");
   ASSERT_EQ(Tokens.size(), 23u) << Tokens;
   EXPECT_TOKEN(Tokens[15], tok::identifier, TT_CtorDtorDeclName);
   EXPECT_TOKEN(Tokens[16], tok::l_paren, TT_FunctionDeclarationLParen);

``````````

</details>


https://github.com/llvm/llvm-project/pull/143194
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to