forked from OSchip/llvm-project
[NFC][flang] Add the missed `constexpr`
Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D128598
This commit is contained in:
parent
0204fd25b0
commit
794b3bf776
|
@ -378,7 +378,7 @@ createBodyOfOp(Op &op, Fortran::lower::AbstractConverter &converter,
|
|||
if (clauses && !outerCombined)
|
||||
privatizeVars(converter, *clauses);
|
||||
|
||||
if (std::is_same_v<Op, omp::ParallelOp>) {
|
||||
if constexpr (std::is_same_v<Op, omp::ParallelOp>) {
|
||||
threadPrivatizeVars(converter, eval);
|
||||
if (clauses)
|
||||
genCopyinClause(converter, *clauses);
|
||||
|
|
Loading…
Reference in New Issue