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 7004643 commit 38c502bCopy full SHA for 38c502b
flang/lib/Lower/OpenMP.cpp
@@ -222,9 +222,7 @@ genOMP(Fortran::lower::AbstractConverter &converter,
222
&clause.u)) {
223
genAllocateClause(converter, allocateClause->v, allocatorOperands,
224
allocateOperands);
225
- } else if (const auto &privateClause =
226
- std::get_if<Fortran::parser::OmpClause::Private>(
227
- &clause.u)) {
+ } else if (std::get_if<Fortran::parser::OmpClause::Private>(&clause.u)) {
228
// TODO: Handle private. This cannot be a hard TODO because testing for
229
// allocate clause requires private variables.
230
} else {
0 commit comments