diff options
author | Shafik Yaghmour <shafik.yaghmour@intel.com> | 2022-08-08 19:23:53 -0700 |
---|---|---|
committer | Shafik Yaghmour <shafik.yaghmour@intel.com> | 2022-08-08 19:23:53 -0700 |
commit | 1438639a2f7eb9e9cba01454d3a9b1b16d179c9a (patch) | |
tree | a639ed40a2cb7634b8006441a0c5f78c533017a5 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 03e345b5198d22ac7a4fd9798010fd1da16a25ca (diff) | |
download | llvm-1438639a2f7eb9e9cba01454d3a9b1b16d179c9a.zip llvm-1438639a2f7eb9e9cba01454d3a9b1b16d179c9a.tar.gz llvm-1438639a2f7eb9e9cba01454d3a9b1b16d179c9a.tar.bz2 |
[LLDB] Remove undefined behavior in TestConstStaticIntegralMember.py
Setting an enum without a fixed underlying type to a value which is outside the
value range is undefined behavior.
The initializer needs to be a constant expression and therefore this was always
ill-formed we just were not diagnosing it before.
See D130058 and D131307 for more details.
Differential Revision: https://reviews.llvm.org/D131460
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions