[flang-commits] [flang] 5c9440f - [flang][OpenMP] Remove misplaced comment, NFC (#189449)
via flang-commits
flang-commits at lists.llvm.org
Mon Mar 30 11:59:50 PDT 2026
Author: Krzysztof Parzyszek
Date: 2026-03-30T13:59:44-05:00
New Revision: 5c9440f8ae07af862010d39ac440f22b1906191d
URL: https://github.com/llvm/llvm-project/commit/5c9440f8ae07af862010d39ac440f22b1906191d
DIFF: https://github.com/llvm/llvm-project/commit/5c9440f8ae07af862010d39ac440f22b1906191d.diff
LOG: [flang][OpenMP] Remove misplaced comment, NFC (#189449)
Remove the seemingly random comment listing clauses allowed on a DO
construct. The nearby code has nothing to do with clauses.
Added:
Modified:
flang/lib/Semantics/check-omp-loop.cpp
Removed:
################################################################################
diff --git a/flang/lib/Semantics/check-omp-loop.cpp b/flang/lib/Semantics/check-omp-loop.cpp
index e35e83e5b191b..5bbf7bcd627ec 100644
--- a/flang/lib/Semantics/check-omp-loop.cpp
+++ b/flang/lib/Semantics/check-omp-loop.cpp
@@ -373,15 +373,6 @@ void OmpStructureChecker::Enter(const parser::OpenMPLoopConstruct &x) {
}
if (beginName.v == llvm::omp::Directive::OMPD_do) {
- // 2.7.1 do-clause -> private-clause |
- // firstprivate-clause |
- // lastprivate-clause |
- // linear-clause |
- // reduction-clause |
- // schedule-clause |
- // collapse-clause |
- // ordered-clause
-
// nesting check
HasInvalidWorksharingNesting(beginName, llvm::omp::nestedWorkshareErrSet);
}
More information about the flang-commits
mailing list