Page MenuHomePhabricator

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

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



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.

I don't know whether this new patch still avoids the bugs in MSVC.

(Original work-around patch:

Diff Detail