aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
diff options
context:
space:
mode:
authorShafik Yaghmour <shafik.yaghmour@intel.com>2022-07-27 14:59:35 -0700
committerShafik Yaghmour <shafik.yaghmour@intel.com>2022-07-27 14:59:35 -0700
commita3710589f285de0bb22ff92b1fc24df9411e986f (patch)
tree38a26f49798373c5cbcc68d2312d000a26fe0925 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
parenta35596675b75154d9af037d4d761f97b7707ad97 (diff)
downloadllvm-a3710589f285de0bb22ff92b1fc24df9411e986f.zip
llvm-a3710589f285de0bb22ff92b1fc24df9411e986f.tar.gz
llvm-a3710589f285de0bb22ff92b1fc24df9411e986f.tar.bz2
[Clang] Diagnose ill-formed constant expression when setting a non fixed enum to a value outside the range of the enumeration values
DR2338 clarified that it was undefined behavior to set the value outside the range of the enumerations values for an enum without a fixed underlying type. We should diagnose this with a constant expression context. Differential Revision: https://reviews.llvm.org/D130058
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions