aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-10-20 18:31:19 +0000
committerZachary Turner <zturner@google.com>2016-10-20 18:31:19 +0000
commit4d49eb9fa0bb4ddc87329192ca24ffebedd05e1b (patch)
tree79095d7ef7bcc737b2e8854662d25ffa834b0b9c /clang/lib/Lex/ModuleMap.cpp
parentf70a906a11d68f716a7337341b4dddb418081a3f (diff)
downloadllvm-4d49eb9fa0bb4ddc87329192ca24ffebedd05e1b.zip
llvm-4d49eb9fa0bb4ddc87329192ca24ffebedd05e1b.tar.gz
llvm-4d49eb9fa0bb4ddc87329192ca24ffebedd05e1b.tar.bz2
[CodeView] Refactor serialization to use StreamInterface.
This was all using ArrayRef<>s before which presents a problem when you want to serialize to or deserialize from an actual PDB stream. An ArrayRef<> is really just a special case of what can be handled with StreamInterface though (e.g. by using a ByteStream), so changing this to use StreamInterface allows us to plug in a PDB stream and get all the record serialization and deserialization for free on a MappedBlockStream. Subsequent patches will try to remove TypeTableBuilder and TypeRecordBuilder in favor of class that operate on Streams as well, which should allow us to completely merge the reading and writing codepaths for both types and symbols. Differential Revision: https://reviews.llvm.org/D25831 llvm-svn: 284762
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions