This is an archive of the discontinued LLVM Phabricator instance.

[flang][msvc] Add explicit function template argument to applyLamda. NFC.
ClosedPublic

Authored by Meinersbur on Sep 21 2020, 12:06 AM.

Details

Summary

Like in D87961, msvc has difficulties deducing the template argument. The error message is:

expr-parsers.cpp(383): error C2672: 'applyLambda': no matching overloaded function found

Explicitly pass the first template argument to help it.

This patch is part of the series to make flang compilable with MS Visual Studio http://lists.llvm.org/pipermail/flang-dev/2020-July/000448.html.

Diff Detail

Event Timeline

Meinersbur created this revision.Sep 21 2020, 12:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 21 2020, 12:06 AM
Meinersbur requested review of this revision.Sep 21 2020, 12:06 AM
This revision is now accepted and ready to land.Sep 22 2020, 6:11 AM