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)
commitab7701749c4a082e2a8cf9ca850b879c0c5a0cf3
tree208d96ddc3188ddf1d714927b529b9da251f5ff3
parent9e4fc280f90665044271398b1398266e6f571b74
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.

llvm-svn: 172919
llvm/include/llvm/Bitcode/BitstreamReader.h
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/Bitcode/Reader/BitstreamReader.cpp