[clang][NFC] Assert that the enumerator value of {Type,ArrayType,UnaryExprOrType...
authorBruno Ricci <riccibrun@gmail.com>
Thu, 11 Jun 2020 16:29:15 +0000 (17:29 +0100)
committerBruno Ricci <riccibrun@gmail.com>
Thu, 11 Jun 2020 19:27:40 +0000 (20:27 +0100)
commitefb0413a5cf9b1481c9b6169c8685f8d71f6de84
tree113661b5e8726917f34847f9173871299cde092b
parenta06f000326e3362ffb5634957447dd434abab0f9
[clang][NFC] Assert that the enumerator value of {Type,ArrayType,UnaryExprOrType,Expression}Traits

is valid and does not overflow in the bit-field for its storage in more places.
This is a follow-up to 78e636b3f2f0b0487130b31fade4f95ab179a18c. NFC.
clang/include/clang/AST/Expr.h
clang/include/clang/AST/ExprCXX.h
clang/lib/AST/Expr.cpp
clang/lib/AST/ExprCXX.cpp