summaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
diff options
context:
space:
mode:
authorTakuya Shimizu <shimizu2486@gmail.com>2023-05-23 00:29:20 +0900
committerTakuya Shimizu <shimizu2486@gmail.com>2023-05-23 00:57:38 +0900
commit986cbd80d1dc838c61abff24b8d7ac28dcf4ac2a (patch)
tree5eddf8bc4144bebac7335526f2c866acea962b1b /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
parent6b50e87f21e131fb75d234acaa69b2386e3b6006 (diff)
[clang][AST] TextNodeDumper should not evaluate the initializer of constexpr variable declaration when it has a dependent type
`TextNodeDumper` enabed through `-ast-dump` flag should not evlauate the initializer when it visits a constexpr `VarDecl` node if it has a dependent type. I found a crashing case fixed by this change and added it as a test case. `template <typename T> constexpr T call_init(0);` Link: https://godbolt.org/z/3bG9Pjj5E This is a fix for the regression caused by D146358 Differential Revision: https://reviews.llvm.org/D151033
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions