Propagate const-correctness into parseBitcodeFile()

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211864 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alp Toker
2014-06-27 04:48:32 +00:00
parent 260f9375bd
commit 9fc1a6ffb7
3 changed files with 5 additions and 5 deletions

View File

@ -52,7 +52,7 @@ namespace llvm {
/// Read the specified bitcode file, returning the module.
/// This method *never* takes ownership of Buffer.
ErrorOr<Module *> parseBitcodeFile(MemoryBuffer *Buffer,
ErrorOr<Module *> parseBitcodeFile(const MemoryBuffer *Buffer,
LLVMContext &Context);
/// WriteBitcodeToFile - Write the specified module to the specified