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,h,c -- 
clang/lib/CIR/CodeGen/CIRGenOpenACCDecl.cpp 
clang/lib/CIR/CodeGen/CIRGenOpenACCStmt.cpp 
clang/test/CIR/CodeGenOpenACC/openacc-not-implemented-global.cpp 
clang/test/CIR/CodeGenOpenACC/openacc-not-implemented.cpp 
clang/test/Driver/openacc-no-cir.c clang/include/clang/AST/DeclOpenACC.h 
clang/include/clang/AST/GlobalDecl.h clang/lib/AST/DeclOpenACC.cpp 
clang/lib/CIR/CodeGen/CIRGenDecl.cpp clang/lib/CIR/CodeGen/CIRGenFunction.h 
clang/lib/CIR/CodeGen/CIRGenModule.cpp clang/lib/CIR/CodeGen/CIRGenModule.h 
clang/lib/CIR/CodeGen/CIRGenStmt.cpp clang/lib/Frontend/CompilerInvocation.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/CIR/CodeGen/CIRGenModule.cpp 
b/clang/lib/CIR/CodeGen/CIRGenModule.cpp
index e88de98a9..f0e9b0349 100644
--- a/clang/lib/CIR/CodeGen/CIRGenModule.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenModule.cpp
@@ -16,8 +16,8 @@
 
 #include "clang/AST/ASTContext.h"
 #include "clang/AST/DeclBase.h"
-#include "clang/AST/GlobalDecl.h"
 #include "clang/AST/DeclOpenACC.h"
+#include "clang/AST/GlobalDecl.h"
 #include "clang/Basic/SourceManager.h"
 #include "clang/CIR/Dialect/IR/CIRDialect.h"
 #include "clang/CIR/MissingFeatures.h"
diff --git a/clang/lib/CIR/CodeGen/CIRGenOpenACCDecl.cpp 
b/clang/lib/CIR/CodeGen/CIRGenOpenACCDecl.cpp
index 488e51e09..9ad9d5d4b 100644
--- a/clang/lib/CIR/CodeGen/CIRGenOpenACCDecl.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenOpenACCDecl.cpp
@@ -29,5 +29,4 @@ void CIRGenModule::emitGlobalOpenACCDecl(const 
OpenACCConstructDecl *d) {
     errorNYI(d->getSourceRange(), "OpenACC Routine Construct");
   else if (isa<OpenACCDeclareDecl>(d))
     errorNYI(d->getSourceRange(), "OpenACC Declare Construct");
-
 }

``````````

</details>


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

Reply via email to