mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-19 14:00:09 +00:00
[flang] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off build
Fix the warning from D122483. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D123455
This commit is contained in:
parent
70046438d0
commit
38c502b6c7
@ -222,9 +222,7 @@ genOMP(Fortran::lower::AbstractConverter &converter,
|
||||
&clause.u)) {
|
||||
genAllocateClause(converter, allocateClause->v, allocatorOperands,
|
||||
allocateOperands);
|
||||
} else if (const auto &privateClause =
|
||||
std::get_if<Fortran::parser::OmpClause::Private>(
|
||||
&clause.u)) {
|
||||
} else if (std::get_if<Fortran::parser::OmpClause::Private>(&clause.u)) {
|
||||
// TODO: Handle private. This cannot be a hard TODO because testing for
|
||||
// allocate clause requires private variables.
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user