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 b6620a6 commit 23caba8Copy full SHA for 23caba8
flang/lib/Semantics/check-omp-structure.cpp
@@ -3820,7 +3820,7 @@ void OmpStructureChecker::Enter(const parser::OmpClause::UseDevicePtr &x) {
3820
SymbolSourceMap currSymbols;
3821
GetSymbolsInObjectList(x.v, currSymbols);
3822
semantics::UnorderedSymbolSet listVars;
3823
- for (auto [_, clauses] : GetClauses(llvm::omp::Clause::OMPC_use_device_ptr)) {
+ for (auto [_, clause] : GetClauses(llvm::omp::Clause::OMPC_use_device_ptr)) {
3824
const auto &useDevicePtrClause{
3825
std::get<parser::OmpClause::UseDevicePtr>(clause->u)};
3826
const auto &useDevicePtrList{useDevicePtrClause.v};
0 commit comments