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 bfe486fe764667d514124faf2b39afb7e7322640 
5dd5dd4e7a7733412fb20368202c657f97b635a2 --extensions cpp -- 
clang/test/SemaCXX/attr-no-specializations.cpp clang/lib/Sema/SemaDeclAttr.cpp 
clang/lib/Sema/SemaTemplate.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp
index b8d9a3ebe8..ad5a6f51bd 100644
--- a/clang/lib/Sema/SemaDeclAttr.cpp
+++ b/clang/lib/Sema/SemaDeclAttr.cpp
@@ -1215,8 +1215,7 @@ static void handlePreferredName(Sema &S, Decl *D, const 
ParsedAttr &AL) {
         << TT->getDecl();
 }
 
-static void handleNoSpecializations(Sema &S, Decl *D,
-                                          const ParsedAttr &AL) {
+static void handleNoSpecializations(Sema &S, Decl *D, const ParsedAttr &AL) {
   StringRef Message;
   if (AL.getNumArgs() != 0)
     S.checkStringLiteralArgumentAttr(AL, 0, Message);

``````````

</details>


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

Reply via email to