diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-03-28 20:39:41 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-03-28 20:39:41 +0000 |
commit | 56d1fea6afc3f469dcb33334dd31623c56ca715e (patch) | |
tree | 5a72c610708aaa2a3fb5a029d9b9fa2b621af730 /clang/lib/Driver/Tools.cpp | |
parent | a023f79db19dae6c42ce4240e85630510c20ac91 (diff) | |
download | bcm5719-llvm-56d1fea6afc3f469dcb33334dd31623c56ca715e.tar.gz bcm5719-llvm-56d1fea6afc3f469dcb33334dd31623c56ca715e.zip |
Explicitly test BitstreamReader::setArtificialByteLimit, NFC
Explicitly check that artificial byte limit is rounded correctly by
exposing BitstreamReader::Size through a new accessor, getSizeIfKnown.
The original code for rounding (from r264547) wasn't obviously correct,
and even though r264623 cleaned it up (by calling llvm::alignTo) I think
it's worth testing.
llvm-svn: 264650
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions