summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorBruno Ricci <riccibrun@gmail.com>2020-06-09 21:11:09 +0100
committerBruno Ricci <riccibrun@gmail.com>2020-06-09 21:17:19 +0100
commit856ba638d57ead6df85a4ff39531282c6c110232 (patch)
tree2e6b39ea17be1888f2a44cc601837ed2f4011900 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentedd819c7576b5183f0d9ef90c48bf903e22035d0 (diff)
[clang][NFC] Fix and simplify the test added in 8dcc7eecb75b39d723fd6fee566369bf67e43fdf
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.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions