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 e36c8dca38ae30e4cf22a39ff32a050e110a2247 02859cb59f152567e0d107c1e2f4e3e6965d1908 -- clang/include/clang/Parse/Parser.h clang/lib/Parse/ParseOpenMP.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Parse/ParseOpenMP.cpp b/clang/lib/Parse/ParseOpenMP.cpp index a10bb009ec..a8c9cc4551 100644 --- a/clang/lib/Parse/ParseOpenMP.cpp +++ b/clang/lib/Parse/ParseOpenMP.cpp @@ -2393,11 +2393,9 @@ Parser::DeclGroupPtrTy Parser::ParseOpenMPDeclarativeDirectiveWithExtDecl( return nullptr; } -StmtResult -Parser::ParseOpenMPExecutableDirective(ParsedStmtContext StmtCtx, - OpenMPDirectiveKind DKind, - SourceLocation Loc, - bool ReadDirectiveWithinMetadirective) { +StmtResult Parser::ParseOpenMPExecutableDirective( + ParsedStmtContext StmtCtx, OpenMPDirectiveKind DKind, SourceLocation Loc, + bool ReadDirectiveWithinMetadirective) { bool HasAssociatedStatement = true; switch (DKind) { @@ -2638,7 +2636,7 @@ StmtResult Parser::ParseOpenMPDeclarativeOrExecutableDirective( StmtResult Directive = StmtError(); bool IsExecutable = [&]() { - if (DKind == OMPD_error) // OMPD_error is handled as executable + if (DKind == OMPD_error) // OMPD_error is handled as executable return true; switch (getDirectiveCategory(DKind)) { case Category::Executable: `````````` </details> https://github.com/llvm/llvm-project/pull/94691 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits