HomePhabricator

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

Authored by Meinersbur on Sep 22 2020, 12:19 PM.

Description

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

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.

Reviewed By: DavidTruby

Differential Revision: https://reviews.llvm.org/D88001