diff options
| author | Nick Desaulniers <nickdesaulniers@users.noreply.github.com> | 2023-09-11 08:37:01 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-11 08:37:01 -0700 |
| commit | 26181544f7512eb2713243f301b712f845de13ef (patch) | |
| tree | 7debaecbfc737137d6856994202544d699353c98 /lldb/test/API/functionalities/interactive_scripted_process/TestInteractiveScriptedProcess.py | |
| parent | 46f3ea5952b9032174e6dfea0043545336e79570 (diff) | |
[clang][VarDecl] Reset un-evaluated constant for all C++ modes (#65818)
After commit 610ec954e1f8 ("[clang] allow const structs/unions/arrays to
be constant expressions for C"), attempts to evaluate
structs/unions/arrays as constants are also performed for C++98 and
C++03.
An assertion was getting tripped up since the potentially-partially
evaluated value was not being reset for those 2 language modes. Make
sure to reset it now for all C++ modes.
Fixes: #65784
Diffstat (limited to 'lldb/test/API/functionalities/interactive_scripted_process/TestInteractiveScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
