Skip to content

Commit 23caba8

Browse files
committed
typo
1 parent b6620a6 commit 23caba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3820,7 +3820,7 @@ void OmpStructureChecker::Enter(const parser::OmpClause::UseDevicePtr &x) {
38203820
SymbolSourceMap currSymbols;
38213821
GetSymbolsInObjectList(x.v, currSymbols);
38223822
semantics::UnorderedSymbolSet listVars;
3823-
for (auto [_, clauses] : GetClauses(llvm::omp::Clause::OMPC_use_device_ptr)) {
3823+
for (auto [_, clause] : GetClauses(llvm::omp::Clause::OMPC_use_device_ptr)) {
38243824
const auto &useDevicePtrClause{
38253825
std::get<parser::OmpClause::UseDevicePtr>(clause->u)};
38263826
const auto &useDevicePtrList{useDevicePtrClause.v};

0 commit comments

Comments
 (0)