aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
diff options
context:
space:
mode:
authorKrystian Stasiowski <sdkrystian@gmail.com>2024-07-03 12:12:53 -0400
committerGitHub <noreply@github.com>2024-07-03 12:12:53 -0400
commit584e431a4b257098d1ff13a0e9926842222ba601 (patch)
tree32ed0cf196e5775ec26733ae8116006d04ce984c /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
parent3ab2247d10673419609333a33bca0eca8a56bf3d (diff)
downloadllvm-584e431a4b257098d1ff13a0e9926842222ba601.zip
llvm-584e431a4b257098d1ff13a0e9926842222ba601.tar.gz
llvm-584e431a4b257098d1ff13a0e9926842222ba601.tar.bz2
[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/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions