[NFC][flang] Add the missed `constexpr`

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D128598
This commit is contained in:
Peixin-Qiao 2022-06-29 12:07:29 +08:00
parent 0204fd25b0
commit 794b3bf776
1 changed files with 1 additions and 1 deletions

View File

@ -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);