diff options
| author | Faisal Vali <faisalv@yahoo.com> | 2018-01-01 16:36:47 +0000 |
|---|---|---|
| committer | Faisal Vali <faisalv@yahoo.com> | 2018-01-01 16:36:47 +0000 |
| commit | 5ffbeb4057b48ae3564e50e0a970264cc86c8f5c (patch) | |
| tree | 8fe9ed55830bf979937f96df9a2d884bdfe6c17c /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
| parent | 18962dabb74863b17f4607a27717d2aabb375614 (diff) | |
| download | llvm-5ffbeb4057b48ae3564e50e0a970264cc86c8f5c.zip llvm-5ffbeb4057b48ae3564e50e0a970264cc86c8f5c.tar.gz llvm-5ffbeb4057b48ae3564e50e0a970264cc86c8f5c.tar.bz2 | |
Use 'unsigned int' instead of enum bit-fields to silence some warnings from r321622
- bots were complaining that the bit-field width was less than the width of the underlying type (note, underlying types of enums can not be bit-fields)
- add static_asserts for TSS and TSW to ensure that the bit-fields can hold all the enumerators - and add comments next to the last enumerator warning not to reorder.
See https://reviews.llvm.org/rC321622 for the patch that introduced the warnings.
llvm-svn: 321625
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions
