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 b1b436c108101f31b27eedb3a9591b7a02e0bc6e bba25fe832489086d6a0b63c399c82057e1d3cfc --extensions h,cpp -- clang/include/clang-c/Index.h clang/include/clang/AST/RecursiveASTVisitor.h clang/include/clang/AST/StmtOpenMP.h clang/include/clang/AST/TextNodeDumper.h clang/include/clang/Sema/SemaOpenMP.h clang/include/clang/Serialization/ASTBitCodes.h clang/lib/AST/StmtOpenMP.cpp clang/lib/AST/StmtPrinter.cpp clang/lib/AST/StmtProfile.cpp clang/lib/AST/TextNodeDumper.cpp clang/lib/CodeGen/CGStmt.cpp clang/lib/Sema/SemaExceptionSpec.cpp clang/lib/Sema/SemaOpenMP.cpp clang/lib/Sema/TreeTransform.h clang/lib/Serialization/ASTReaderStmt.cpp clang/lib/Serialization/ASTWriterStmt.cpp clang/lib/StaticAnalyzer/Core/ExprEngine.cpp clang/test/OpenMP/Inputs/nesting_of_regions.cpp clang/test/OpenMP/atomic_messages.cpp clang/test/OpenMP/critical_messages.cpp clang/test/OpenMP/default_firstprivate_ast_print.cpp clang/test/OpenMP/default_private_ast_print.cpp clang/test/OpenMP/error_message.cpp clang/test/OpenMP/generic_loop_ast_print.cpp clang/test/OpenMP/interop_ast_print.cpp clang/test/OpenMP/scope_ast_print.cpp clang/test/OpenMP/target_update_from_messages.cpp clang/test/OpenMP/target_update_to_messages.cpp clang/test/OpenMP/task_messages.cpp clang/tools/libclang/CIndex.cpp clang/tools/libclang/CXCursor.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index 8a877bcafa..148afc6edc 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -2159,11 +2159,11 @@ enum CXCursorKind { CXCursor_OMPAssumeDirective = 309, /** OpenMP opaque block-associated directive. - */ + */ CXCursor_OMPOpaqueBlockDirective = 310, /** OpenMP opaque loop-associated directive. - */ + */ CXCursor_OMPOpaqueLoopDirective = 311, /** OpenACC Compute Construct. diff --git a/clang/include/clang/Sema/SemaOpenMP.h b/clang/include/clang/Sema/SemaOpenMP.h index 819b9fe347..b806507753 100644 --- a/clang/include/clang/Sema/SemaOpenMP.h +++ b/clang/include/clang/Sema/SemaOpenMP.h @@ -854,10 +854,11 @@ public: OpenMPDirectiveKind CancelRegion, const DeclarationNameInfo &DirName, SourceLocation StartLoc, SourceLocation EndLoc); - StmtResult ActOnOpenMPOpaqueLoopDirective( - OpenMPDirectiveKind Kind, ArrayRef<OMPClause *> Clauses, Stmt *AStmt, - SourceLocation StartLoc, SourceLocation EndLoc, - VarsWithInheritedDSAType &VarsWithImplicitDSA); + StmtResult + ActOnOpenMPOpaqueLoopDirective(OpenMPDirectiveKind Kind, + ArrayRef<OMPClause *> Clauses, Stmt *AStmt, + SourceLocation StartLoc, SourceLocation EndLoc, + VarsWithInheritedDSAType &VarsWithImplicitDSA); OMPClause *ActOnOpenMPSingleExprClause(OpenMPClauseKind Kind, Expr *Expr, SourceLocation StartLoc, `````````` </details> https://github.com/llvm/llvm-project/pull/109286 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits