Skip to content
Commit 5ffbeb40 authored by Faisal Vali's avatar Faisal Vali
Browse files

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
parent 18962dab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment