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 7f5c71efc441083282a5365d245acfe6afcd0dd5 
27a2da876926d2157ea9f18c5fd71a2e81e097fc -- 
clang/lib/Format/ContinuationIndenter.cpp clang/lib/Format/TokenAnnotator.cpp 
clang/unittests/Format/FormatTest.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/unittests/Format/FormatTest.cpp 
b/clang/unittests/Format/FormatTest.cpp
index 0413f1f08f..0a272d7482 100644
--- a/clang/unittests/Format/FormatTest.cpp
+++ b/clang/unittests/Format/FormatTest.cpp
@@ -9305,23 +9305,20 @@ TEST_F(FormatTest, AlignsAfterOpenBracket) {
       "    aaaaaaaaaaaaaaaa\n"
       ");",
       Style);
-  verifyFormat(
-      "bool aaaaaaaaaaaaaaaaaaaaaaaaaaa(\n"
-      "    const bool &aaaaaaaaa, const void *aaaaaaaaaa\n"
-      ") const {\n"
-      "  return true;\n"
-      "}",
-      Style);
-  verifyFormat(
-      "bool aaaaaaaaaaaaaaaaaaaaaaaa(\n"
-      "    const bool &aaaaaaaaaa, const void *aaaaaaaaaa\n"
-      ") const;",
-      Style);
-  verifyFormat(
-      "void aaaaaaaaa(\n"
-      "    int aaaaaa, int bbbbbb, int cccccc, int dddddddddd\n"
-      ") const noexcept -> std::vector<of_very_long_type>;",
-      Style);
+  verifyFormat("bool aaaaaaaaaaaaaaaaaaaaaaaaaaa(\n"
+               "    const bool &aaaaaaaaa, const void *aaaaaaaaaa\n"
+               ") const {\n"
+               "  return true;\n"
+               "}",
+               Style);
+  verifyFormat("bool aaaaaaaaaaaaaaaaaaaaaaaa(\n"
+               "    const bool &aaaaaaaaaa, const void *aaaaaaaaaa\n"
+               ") const;",
+               Style);
+  verifyFormat("void aaaaaaaaa(\n"
+               "    int aaaaaa, int bbbbbb, int cccccc, int dddddddddd\n"
+               ") const noexcept -> std::vector<of_very_long_type>;",
+               Style);
   verifyFormat(
       "aaaaaaaaaaaaaaaaaaa(\n"
       "    \"a aaaaaaa aaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaa\"\n"

``````````

</details>


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

Reply via email to