rsmith added a comment.

In https://reviews.llvm.org/D53207#1273727, @ubsan wrote:

> when I don't specifically don't set the type trait kind of `__alignof` to 
> `UETT_PreferredAlignOf`, and remove the code in `AlignOfType` to 
> differentiate between `PreferredAlignOf` and `AlignOf`, all the tests pass 
> again.


You've extended `UnaryExprOrTypeTrait` from having 4 enumerators to 5, which 
means it no longer fits in a 2-bit bitfield. 
`Stmt::UnaryExprOrTypeTraitExprBitfields::Kind` needs to be made wider.


Repository:
  rC Clang

https://reviews.llvm.org/D53207



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to