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 640dd49 commit d72089cCopy full SHA for d72089c
flang/lib/Semantics/check-omp-structure.cpp
@@ -1664,7 +1664,7 @@ void OmpStructureChecker::ChecksOnOrderedAsStandalone() {
1664
"Only SINK or SOURCE dependence types are allowed when ORDERED construct is a standalone construct with no ORDERED region"_err_en_US);
1665
}
1666
1667
- auto doaClauses = FindClauses(llvm::omp::Clause::OMPC_doacross);
+ auto doaClauses{FindClauses(llvm::omp::Clause::OMPC_doacross)};
1668
for (auto itr = doaClauses.first; itr != doaClauses.second; ++itr) {
1669
auto &doaClause{std::get<parser::OmpClause::Doacross>(itr->second->u)};
1670
visitDoacross(doaClause.v.v, itr->second->source);
0 commit comments