summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorTimm Baeder <tbaeder@redhat.com>2025-01-28 15:04:44 +0100
committerGitHub <noreply@github.com>2025-01-28 15:04:44 +0100
commit4bd2307a2085f0ace05e0b1b11c1c47ff3870110 (patch)
tree12bfc681bd56aac3d6362f0a083f8434b162cb47 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent79499f010d2bfe809187a9a5f042d4e4ee1f1bcc (diff)
[clang][ExprConst] Don't diagnose a non-existent init as not constant (#124575)
This test: ```c++ extern Swim& trident; // expected-note {{declared here}} constexpr auto& gallagher = typeid(trident); // expected-error {{constexpr variable 'gallagher' must be initialized by a constant expression}} // expected-note@-1 {{initializer of 'trident' is not a constant expression}} ``` diagnosed the initializer of `trident` as not constant, but `trident` doesn't even have an initializer. Remove that diagnostic in this case.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions