Skip to content

Commit 4846849

Browse files
committed
add braces
1 parent 40823de commit 4846849

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flang/lib/Semantics/check-omp-structure.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,8 +877,9 @@ void OmpStructureChecker::Enter(const parser::OpenMPBlockConstruct &x) {
877877
}
878878
};
879879
catchCopyPrivateNowaitClauses(beginSpec, false);
880-
if (endSpec)
880+
if (endSpec) {
881881
catchCopyPrivateNowaitClauses(*endSpec, true);
882+
}
882883
unsigned version{context_.langOptions().OpenMPVersion};
883884
if (version <= 52 && NowaitSource.ToString().size() &&
884885
(singleCopyprivateSyms.size() || endSingleCopyprivateSyms.size())) {

0 commit comments

Comments
 (0)