Add a new BitstreamEntry concept, and add two helper methods for walking
authorChris Lattner <sabre@nondot.org>
Sat, 19 Jan 2013 21:35:24 +0000 (21:35 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 19 Jan 2013 21:35:24 +0000 (21:35 +0000)
commit63246aa04f23767875bfe6f533285915a766b82d
tree3e8b20360dbb7070b6eed3c11bbaff92fa09c3ab
parent35f63ddc8fd2edad63393e2c111e47aea7940b81
Add a new BitstreamEntry concept, and add two helper methods for walking
through a BitstreamCursor that produce it: advance() and
advanceSkippingSubblocks(), representing the two most common ways clients
want to walk through bitcode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172919 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/BitstreamReader.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Reader/BitstreamReader.cpp