summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2019-02-07 19:03:48 +0000
committerMarshall Clow <mclow.lists@gmail.com>2019-02-07 19:03:48 +0000
commitaa09911aeffb372899ef9fe6e87717bd81cceeb6 (patch)
treeaeee7850327bd8b8491c563ba8df3ada5c386e18 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentd6212f9f1b93fccae4aa9c69d81521d60291fafc (diff)
Add static_asserts to tuple's comparison operators to enforce the requirement that the tuples be the same size. See PR39183 for an example where we give unexpected results for this bad input case. With this change, we will reject it at compile-time
llvm-svn: 353450
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions