Add const qualifiers for isBitcodeWrapper, and add new functions
authorDan Gohman <gohman@apple.com>
Wed, 2 Sep 2009 17:21:29 +0000 (17:21 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 2 Sep 2009 17:21:29 +0000 (17:21 +0000)
commitc2ac2d534763c6592c917e3776270d377e9c3589
tree0b5829f4cd695c3c16af4d0bb567ca7e32e5043a
parent2ec5fe524c6ab957524fa02422b026cfe168d948
Add const qualifiers for isBitcodeWrapper, and add new functions
isRawBitcode and isBitcode to allow clients to test whether a given
memory buffer holds a bitcode image.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80804 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/ReaderWriter.h