diff options
| author | Krystian Stasiowski <sdkrystian@gmail.com> | 2024-07-03 12:12:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-03 12:12:53 -0400 |
| commit | 584e431a4b257098d1ff13a0e9926842222ba601 (patch) | |
| tree | 32ed0cf196e5775ec26733ae8116006d04ce984c /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 3ab2247d10673419609333a33bca0eca8a56bf3d (diff) | |
[Clang][Sema] Treat explicit specializations of static data member templates declared without 'static' as static data members when diagnosing uses of 'auto' (#97425)
After #93873 clang no longer permits declarations of explicit
specializations of static data member templates to use the `auto`
_placeholder-type-specifier_:
```
struct A {
template<int N>
static constexpr auto x = 0;
template<>
constexpr auto x<1> = 1; // error: 'auto' not allowed in non-static struct member
};
```
This patch fixes the issue.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
