diff options
author | Richard Smith <richard@metafoo.co.uk> | 2021-02-23 14:07:13 -0800 |
---|---|---|
committer | Richard Smith <richard@metafoo.co.uk> | 2021-02-25 14:25:01 -0800 |
commit | 95d0d8e9e9d10da3cfa503fbba405e740aea3cc1 (patch) | |
tree | f68744ae8fbb8c087a9989f3477f270357c12e2c /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c7d46f221e829411b0f0dec41409ed626646cdd2 (diff) | |
download | llvm-95d0d8e9e9d10da3cfa503fbba405e740aea3cc1.zip llvm-95d0d8e9e9d10da3cfa503fbba405e740aea3cc1.tar.gz llvm-95d0d8e9e9d10da3cfa503fbba405e740aea3cc1.tar.bz2 |
Fix constructor declarations that are invalid in C++20 onwards.
Under C++ CWG DR 2237, the constructor for a class template C must be
written as 'C(...)' not as 'C<T>(...)'. This fixes a build failure with
GCC in C++20 mode.
In passing, remove some other redundant '<T>' qualification from the
affected classes.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions