[flang-commits] [flang] [flang][OpenMP] Use iterator_range/range-for for FindClauses, NFC (PR #115749)
via flang-commits
flang-commits at lists.llvm.org
Mon Nov 11 10:14:39 PST 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 bf601ba3322dd908ee9290af7f0d9bafa051a734 7374375731e1eb1f27bc072580c14bf9ab9a6094 --extensions cpp,h -- flang/lib/Semantics/check-omp-structure.cpp flang/lib/Semantics/check-omp-structure.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/lib/Semantics/check-omp-structure.h b/flang/lib/Semantics/check-omp-structure.h
index 73979b5301..0c5f97f743 100644
--- a/flang/lib/Semantics/check-omp-structure.h
+++ b/flang/lib/Semantics/check-omp-structure.h
@@ -141,8 +141,8 @@ public:
#include "llvm/Frontend/OpenMP/OMP.inc"
private:
- inline llvm::iterator_range<typename ClauseMapTy::iterator>
- GetClauses(llvm::omp::Clause clauseId);
+ inline llvm::iterator_range<typename ClauseMapTy::iterator> GetClauses(
+ llvm::omp::Clause clauseId);
bool CheckAllowedClause(llvmOmpClause clause);
bool IsVariableListItem(const Symbol &sym);
``````````
</details>
https://github.com/llvm/llvm-project/pull/115749
More information about the flang-commits
mailing list