diff options
author | Michael Kruse <llvm-project@meinersbur.de> | 2020-08-12 15:02:23 -0500 |
---|---|---|
committer | Michael Kruse <llvm-project@meinersbur.de> | 2020-08-12 16:46:02 -0500 |
commit | 62ef1cb2079123b86878e4bfed3c14db448f1373 (patch) | |
tree | 393beaed11b947a4934e88e0688f0423ab831e06 /clang/lib/CodeGen/CoverageMappingGen.cpp | |
parent | 12d16de538ce3726ea08ff415b34d97bed205a0d (diff) | |
download | llvm-62ef1cb2079123b86878e4bfed3c14db448f1373.zip llvm-62ef1cb2079123b86878e4bfed3c14db448f1373.tar.gz llvm-62ef1cb2079123b86878e4bfed3c14db448f1373.tar.bz2 |
[flang][msvc] Remove default arguments for function specializations.
C++ does not allow function template specializations to have default arguments. IIUC callers will only use the default arguments of the primary template. gcc and clang accept the syntax anyway, but msvc emits an error.
See https://en.cppreference.com/w/cpp/language/template_specialization for more details.
This patch is part of the series to [[ http://lists.llvm.org/pipermail/flang-dev/2020-July/000448.html | make flang compilable with MS Visual Studio ]].
Reviewed By: DavidTruby
Differential Revision: https://reviews.llvm.org/D85657
Diffstat (limited to 'clang/lib/CodeGen/CoverageMappingGen.cpp')
0 files changed, 0 insertions, 0 deletions