[flang-commits] [flang] [flang][OpenMP] Remove unused variable 'noWaitClauseNotAllowedSet', NFC (PR #203973)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Mon Jun 15 11:59:32 PDT 2026
https://github.com/kparzysz created https://github.com/llvm/llvm-project/pull/203973
None
>From 47287bd78242b34987a1eb91d7c9798a66fc92ce Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: Mon, 15 Jun 2026 13:57:55 -0500
Subject: [PATCH] [flang][OpenMP] Remove unused variable
'noWaitClauseNotAllowedSet', NFC
---
flang/lib/Semantics/check-omp-structure.h | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/flang/lib/Semantics/check-omp-structure.h b/flang/lib/Semantics/check-omp-structure.h
index 42ab0c2ef5ef1..9fca5ff0f5fca 100644
--- a/flang/lib/Semantics/check-omp-structure.h
+++ b/flang/lib/Semantics/check-omp-structure.h
@@ -32,17 +32,6 @@ static OmpClauseSet privateSet{
Clause::OMPC_private, Clause::OMPC_firstprivate, Clause::OMPC_lastprivate};
static OmpClauseSet privateReductionSet{
OmpClauseSet{Clause::OMPC_reduction} | privateSet};
-// omp.td cannot differentiate allowed/not allowed clause list for few
-// directives for fortran. nowait is not allowed on begin directive clause list
-// for below list of directives. Directives with conflicting list of clauses are
-// included in below list.
-static const OmpDirectiveSet noWaitClauseNotAllowedSet{
- Directive::OMPD_do,
- Directive::OMPD_do_simd,
- Directive::OMPD_sections,
- Directive::OMPD_single,
- Directive::OMPD_workshare,
-};
} // namespace omp
} // namespace llvm
More information about the flang-commits
mailing list