llvm-project/clang/lib/Serialization
Peter Collingbourne 77c89b6958 Bitcode: Decouple block info block state from reader.
As proposed on llvm-dev:
http://lists.llvm.org/pipermail/llvm-dev/2016-October/106630.html

Move block info block state to a new class, BitstreamBlockInfo.
Clients may set the block info for a particular cursor with the
BitstreamCursor::setBlockInfo() method.

At this point BitstreamReader is not much more than a container for an
ArrayRef<uint8_t>, so remove it and replace all uses with direct uses
of memory buffers.

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

llvm-svn: 286207
2016-11-08 04:17:11 +00:00
..
ASTCommon.cpp C++ Modules TS: Add parsing and some semantic analysis support for 2016-09-08 23:14:54 +00:00
ASTCommon.h PR29097: add an update record when we instantiate the default member 2016-08-24 21:25:37 +00:00
ASTReader.cpp Bitcode: Decouple block info block state from reader. 2016-11-08 04:17:11 +00:00
ASTReaderDecl.cpp [modules] Fix assert if multiple update records provide a definition for a 2016-10-26 02:31:56 +00:00
ASTReaderInternals.h Remove move constructors that are identical to the generated default move ctor. 2016-10-21 18:55:07 +00:00
ASTReaderStmt.cpp Re-apply patch r279045. 2016-10-25 12:50:55 +00:00
ASTWriter.cpp Bitcode: Simplify BitstreamWriter::EnterBlockInfoBlock() interface. 2016-11-01 01:18:57 +00:00
ASTWriterDecl.cpp Reinstate r284008 reverted in r284081, with two fixes: 2016-10-14 21:41:24 +00:00
ASTWriterStmt.cpp Re-apply patch r279045. 2016-10-25 12:50:55 +00:00
CMakeLists.txt Introduce module file extensions to piggy-back data onto module files. 2015-11-03 18:33:07 +00:00
GeneratePCH.cpp C++ Modules TS: add frontend support for building pcm files from module 2016-08-26 00:14:38 +00:00
GlobalModuleIndex.cpp Bitcode: Decouple block info block state from reader. 2016-11-08 04:17:11 +00:00
Module.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
ModuleFileExtension.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
ModuleManager.cpp Bitcode: Decouple block info block state from reader. 2016-11-08 04:17:11 +00:00
MultiOnDiskHashTable.h [NFC] Header cleanup 2016-07-18 19:02:11 +00:00