Skip to content

Commit 3c3881c

Browse files
committed
Rebase from upstream
1 parent 1ea8e5d commit 3c3881c

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

flang/lib/Lower/OpenMP/OpenMP.cpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,14 +1313,10 @@ genTargetOp(Fortran::lower::AbstractConverter &converter,
13131313
cp.processHasDeviceAddr(deviceAddrOperands, deviceAddrTypes, deviceAddrLocs,
13141314
deviceAddrSymbols);
13151315

1316-
cp.processTODO<Fortran::parser::OmpClause::Private,
1317-
Fortran::parser::OmpClause::Firstprivate,
1318-
Fortran::parser::OmpClause::Reduction,
1319-
Fortran::parser::OmpClause::InReduction,
1320-
Fortran::parser::OmpClause::Allocate,
1321-
Fortran::parser::OmpClause::UsesAllocators,
1322-
Fortran::parser::OmpClause::Defaultmap>(
1323-
currentLocation, llvm::omp::Directive::OMPD_target);
1316+
cp.processTODO<clause::Private, clause::Firstprivate, clause::Reduction,
1317+
clause::InReduction, clause::Allocate, clause::UsesAllocators,
1318+
clause::Defaultmap>(currentLocation,
1319+
llvm::omp::Directive::OMPD_target);
13241320

13251321
// 5.8.1 Implicit Data-Mapping Attribute Rules
13261322
// The following code follows the implicit data-mapping rules to map all the

0 commit comments

Comments
 (0)