Page MenuHomePhabricator

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

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

Details

Summary

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: https://reviews.llvm.org/D88504)

Diff Detail