]> granicus.if.org Git - clang/commit
Bitcode: Simplify BitstreamWriter::EnterBlockInfoBlock() interface.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 1 Nov 2016 01:18:57 +0000 (01:18 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 1 Nov 2016 01:18:57 +0000 (01:18 +0000)
commit24b28107475c076a13f35bf496efcd161a6f2354
tree5ddba7feb90ce0c83ffbfd3af35241e0ac514d60
parent783f98e4a55266c40b6ecee9b41381353f37013b
Bitcode: Simplify BitstreamWriter::EnterBlockInfoBlock() interface.

No block info block should need to define local abbreviations, so we can
always use a code width of 2.

Also change all block info block writers to use EnterBlockInfoBlock.

Differential Revision: https://reviews.llvm.org/D26168

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285660 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/SerializedDiagnosticPrinter.cpp
lib/Serialization/ASTWriter.cpp
lib/Serialization/GlobalModuleIndex.cpp