diff options
author | Krystian Stasiowski <sdkrystian@gmail.com> | 2024-02-20 13:12:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 13:12:32 -0500 |
commit | 8302cef83f0614f1fb2078f2335b94aa77bde271 (patch) | |
tree | 57398996f3de65d80d3590043f20ff8bbc4d29a7 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | d2173d8f534d73d2a3fab074a721729626859755 (diff) | |
download | llvm-8302cef83f0614f1fb2078f2335b94aa77bde271.zip llvm-8302cef83f0614f1fb2078f2335b94aa77bde271.tar.gz llvm-8302cef83f0614f1fb2078f2335b94aa77bde271.tar.bz2 |
[Clang][Sema] Convert warning for extraneous template parameter lists to an extension warning (#82277)
We currently accept the following explicit specialization with a warning
for the extraneous template parameter list:
```
template<typename T>
void f();
template<>
template<>
void f<int>(); // warning: extraneous template parameter list in template specialization
```
This should really be an extension warning so we reject with
`-pedantic-errors`. This patch converts the warning to an extension
warning.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions