We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40823de commit 4846849Copy full SHA for 4846849
flang/lib/Semantics/check-omp-structure.cpp
@@ -877,8 +877,9 @@ void OmpStructureChecker::Enter(const parser::OpenMPBlockConstruct &x) {
877
}
878
};
879
catchCopyPrivateNowaitClauses(beginSpec, false);
880
- if (endSpec)
+ if (endSpec) {
881
catchCopyPrivateNowaitClauses(*endSpec, true);
882
+ }
883
unsigned version{context_.langOptions().OpenMPVersion};
884
if (version <= 52 && NowaitSource.ToString().size() &&
885
(singleCopyprivateSyms.size() || endSingleCopyprivateSyms.size())) {
0 commit comments