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 4165254 commit ecde8f5Copy full SHA for ecde8f5
flang/lib/Semantics/check-omp-structure.cpp
@@ -1626,10 +1626,8 @@ void OmpStructureChecker::CheckBarrierNesting(
1626
void OmpStructureChecker::ChecksOnOrderedAsStandalone() {
1627
if (FindClause(llvm::omp::Clause::OMPC_threads) ||
1628
FindClause(llvm::omp::Clause::OMPC_simd)) {
1629
- context_.Say(
1630
- GetContext().clauseSource,
1631
- "THREADS, SIMD clauses are not allowed when ORDERED construct is a "
1632
- "standalone construct with no ORDERED region"_err_en_US);
+ context_.Say(GetContext().clauseSource,
+ "THREADS and SIMD clauses are not allowed when ORDERED construct is a standalone construct with no ORDERED region"_err_en_US);
1633
}
1634
1635
int dependSinkCount{0}, dependSourceCount{0};
0 commit comments