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 f3a1d558116904b793ff8ece7dae9605b741b178
ab69f1e2a41737e023f18c1a14a2b4ef6e31da37 --extensions cpp,h,c --
clang/test/OpenMP/metadirective_otherwise.cpp clang/lib/Parse/ParseOpenMP.cpp
clang/test/OpenMP/metadirective_ast_print.c
llvm/include/llvm/Frontend/OpenMP/OMPContext.h
``````````
</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 402077e256..33514d86dd 100644
--- a/clang/lib/Parse/ParseOpenMP.cpp
+++ b/clang/lib/Parse/ParseOpenMP.cpp
@@ -2886,7 +2886,7 @@ StmtResult
Parser::ParseOpenMPDeclarativeOrExecutableDirective(
// OMP5.2 Chapter 7.4: If no otherwise clause is specified the effect is as
// if one was specified without an associated directive variant.
if (BestIdx == -1 && Idx == 1) {
- SkipUntil(tok::annot_pragma_openmp_end,tok::identifier);
+ SkipUntil(tok::annot_pragma_openmp_end, tok::identifier);
}
break;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/127113
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits