HomePhabricator

[flang][msvc] Rework a MSVC work-around to avoid clang warning

Authored by klausler on Oct 1 2020, 12:26 PM.

Description

[flang][msvc] Rework a MSVC work-around to avoid clang warning

A recent MSVC work-around patch is eliciting unused variable
warnings from clang; package the lambda reference arguments
into a struct to avoid the warning.

Differential revision: https://reviews.llvm.org/D88695