diff options
| author | Shafik Yaghmour <shafik.yaghmour@intel.com> | 2022-07-27 14:59:35 -0700 |
|---|---|---|
| committer | Shafik Yaghmour <shafik.yaghmour@intel.com> | 2022-07-27 14:59:35 -0700 |
| commit | a3710589f285de0bb22ff92b1fc24df9411e986f (patch) | |
| tree | 38a26f49798373c5cbcc68d2312d000a26fe0925 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
| parent | a35596675b75154d9af037d4d761f97b7707ad97 (diff) | |
| download | llvm-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/lldb-python.h')
0 files changed, 0 insertions, 0 deletions
