[clang] [clang][OpenMP] Diagnose badly-formed collapsed imperfect loop nests (#60678) (PR #101305)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 31 01:43:02 PDT 2024
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 5ef087b705099574e131ba77143b49faaee0e7f8 56d5d7797929d8bc81bf394a46c97b9bf645744e --extensions cpp,c -- clang/test/OpenMP/loop_collapse_1.c clang/test/OpenMP/loop_collapse_2.cpp clang/lib/AST/StmtOpenMP.cpp clang/lib/Sema/SemaOpenMP.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/AST/StmtOpenMP.cpp b/clang/lib/AST/StmtOpenMP.cpp
index 75ea55c99d..e41c26bb60 100644
--- a/clang/lib/AST/StmtOpenMP.cpp
+++ b/clang/lib/AST/StmtOpenMP.cpp
@@ -10,8 +10,8 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/AST/ASTContext.h"
#include "clang/AST/StmtOpenMP.h"
+#include "clang/AST/ASTContext.h"
#include "clang/AST/RecursiveASTVisitor.h"
using namespace clang;
``````````
</details>
https://github.com/llvm/llvm-project/pull/101305
More information about the cfe-commits
mailing list