diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-08-01 21:01:04 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-08-01 21:01:04 +0000 |
commit | 7a2990cfdbc8796870660f6c2cd63ed22cbc41ed (patch) | |
tree | a7ec5a0b092d04f273b4e8919c117caac443de42 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 1ba0a07e46c96e81c2f60dd8010ce592c2330119 (diff) | |
download | bcm5719-llvm-7a2990cfdbc8796870660f6c2cd63ed22cbc41ed.tar.gz bcm5719-llvm-7a2990cfdbc8796870660f6c2cd63ed22cbc41ed.zip |
Rewrite BitReaderTest, NFC
Rewrite the single unit test in `BitReaderTest` so that it's easier to
add more tests.
- Parse from an assembly string rather than using API.
- Use more helper functions.
- Use a separate context for the module on the other side.
Aside from relying on the assembly parser, there's no functionality
change intended.
llvm-svn: 214556
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions