[flang-commits] [PATCH] D87961: [flang][msvc] Add explicit function template argument to applyFunction. NFC.
Michael Kruse via Phabricator via flang-commits
flang-commits at lists.llvm.org
Tue Sep 22 12:22:58 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2bc589bbb8d7: [flang][msvc] Add explicit function template argument to applyFunction. NFC. (authored by Meinersbur).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87961/new/
https://reviews.llvm.org/D87961
Files:
flang/lib/Parser/basic-parsers.h
Index: flang/lib/Parser/basic-parsers.h
===================================================================
--- flang/lib/Parser/basic-parsers.h
+++ flang/lib/Parser/basic-parsers.h
@@ -787,7 +787,8 @@
constexpr NonemptySeparated(const NonemptySeparated &) = default;
constexpr NonemptySeparated(PA p, PB sep) : parser_{p}, separator_{sep} {}
std::optional<resultType> Parse(ParseState &state) const {
- return applyFunction(prepend<paType>, parser_, many(separator_ >> parser_))
+ return applyFunction<std::list<paType>>(
+ prepend<paType>, parser_, many(separator_ >> parser_))
.Parse(state);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87961.293547.patch
Type: text/x-patch
Size: 633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20200922/becb3d9f/attachment.bin>
More information about the flang-commits
mailing list