diff options
| author | Shafik Yaghmour <shafik.yaghmour@intel.com> | 2022-08-11 15:32:35 -0700 |
|---|---|---|
| committer | Shafik Yaghmour <shafik.yaghmour@intel.com> | 2022-08-11 15:34:58 -0700 |
| commit | 106774515b77d55edeab6e80555c410efc1f586a (patch) | |
| tree | 763c76f224a8336f855342121be8bf9aae732dfe /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 28d0c0c2c8e88d2b6599ee34c84eb58eed43a626 (diff) | |
[Clang] Fix for Tighten restrictions on enum out of range diagnostic
Ok it looks like this is a bit more subtle, I broke the llvm-test-suite file
paq8p.cpp again. We need both conditions to be true Info.EvalMode ==
EvalInfo::EM_ConstantExpression && Info.InConstantContext. We need to be in a
context that requires a constant value but also in a constant expression context.
Differential Revision: https://reviews.llvm.org/D131704
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
