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 7b83f69db4a57c63c230d45ca2dc52b024612c17 
cbcb81ebdbc49e3bd11b6f716ac14658a729b787 -- clang/lib/AST/ASTImporter.cpp 
clang/unittests/AST/ASTImporterTest.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/AST/ASTImporter.cpp b/clang/lib/AST/ASTImporter.cpp
index a243bf65cc..da8960e6d3 100644
--- a/clang/lib/AST/ASTImporter.cpp
+++ b/clang/lib/AST/ASTImporter.cpp
@@ -5930,7 +5930,7 @@ ExpectedDecl 
ASTNodeImporter::VisitClassTemplateDecl(ClassTemplateDecl *D) {
     DeclContext *DC = TD->getDeclContext();
     DeclContext *LexicalDC = TD->getLexicalDeclContext();
     bool IsDependentContext = DC != LexicalDC ? LexicalDC->isDependentContext()
-                                            : DC->isDependentContext();
+                                              : DC->isDependentContext();
     return IsFriendTemplate && IsDependentContext;
   };
   bool DependentFriend = IsDependentFriend(D);

``````````

</details>


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

Reply via email to