[flang-commits] [flang] [llvm] [Flang][OpenMP][Sema] Adding parsing and semantic support for scan directive. (PR #102792)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Thu Aug 29 03:38:42 PDT 2024
================
@@ -194,6 +194,7 @@ static const OmpDirectiveSet allDistributeParallelDoSimdSet{
static const OmpDirectiveSet allDistributeSimdSet{
allDistributeSet & allSimdSet};
static const OmpDirectiveSet allDoSimdSet{allDoSet & allSimdSet};
+static const OmpDirectiveSet scanAllowedSet{allDoSet | allSimdSet};
----------------
skatrak wrote:
I'd suggest placing this into a new section in this header, since it doesn't belong in any of the ones that already exist. Maybe call the variable `scanParentAllowedSet` and the section "Directive sets for allowed/not allowed parent directives" or something like this.
https://github.com/llvm/llvm-project/pull/102792
More information about the flang-commits
mailing list