llvm-project/compiler-rt/test/ubsan/TestCases
Shafik Yaghmour aea82d4551 [Clang] Fix how we set the NumPositiveBits on an EnumDecl to cover the case of single enumerator with value zero or an empty enum
Currently in Sema::ActOnEnumBody(...) when calculating NumPositiveBits we miss
the case where there is only a single enumerator with value zero and the case of
an empty enum. In both cases we end up with zero positive bits when in fact we
need one bit to store the value zero.

This PR updates the calculation to account for these cases.

Differential Revision: https://reviews.llvm.org/D130301
2022-07-25 16:01:01 -07:00
..
Float [Sanitizers][test] XFAIL long double tests on Solaris/sparc 2022-02-09 09:20:21 +01:00
ImplicitConversion [ubsan] Remove REQUIRED from some TestCases 2021-10-15 10:20:34 -07:00
Integer Add an unsigned shift base sanitizer 2020-08-27 19:50:10 -07:00
Misc [Clang] Fix how we set the NumPositiveBits on an EnumDecl to cover the case of single enumerator with value zero or an empty enum 2022-07-25 16:01:01 -07:00
Pointer Revert "Revert D109159 "[amdgpu] Enable selection of `s_cselect_b64`."" 2022-01-05 13:10:25 -05:00
TypeCheck [compiler-rt] Add shared_cxxabi requirement to some tests 2021-09-24 11:51:26 -07:00