[clang][NFC] Fix and simplify the test added in 8dcc7eec
We only have to create a TypeTraitExpr node with 16 bits worth of arguments to detect an overflow with the assertion added in the constructor of TypeTraitExpr. Moreover the static_assert in original test is pointless since __is_constructible only check that the corresponding expression is well-formed.
Loading
Please sign in to comment