diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-01 23:13:44 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-01 23:13:44 +0000 |
commit | 2a15443aa800aeb61783809c8a686e5e35b1a4db (patch) | |
tree | 9d2e438d1ccb26eee4da98268d6e64a2e6c2bbe2 /llvm/lib/AsmParser/Parser.cpp | |
parent | 83ff184206a418387992109015ca83f220788f0d (diff) | |
download | llvm-2a15443aa800aeb61783809c8a686e5e35b1a4db.zip llvm-2a15443aa800aeb61783809c8a686e5e35b1a4db.tar.gz llvm-2a15443aa800aeb61783809c8a686e5e35b1a4db.tar.bz2 |
Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the
moment, that I will need to make far-reaching changes.
llvm-svn: 74655
Diffstat (limited to 'llvm/lib/AsmParser/Parser.cpp')
-rw-r--r-- | llvm/lib/AsmParser/Parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/AsmParser/Parser.cpp b/llvm/lib/AsmParser/Parser.cpp index daf23fe..82d6f8f 100644 --- a/llvm/lib/AsmParser/Parser.cpp +++ b/llvm/lib/AsmParser/Parser.cpp @@ -21,7 +21,7 @@ using namespace llvm; Module *llvm::ParseAssemblyFile(const std::string &Filename, ParseError &Err, - const LLVMContext& Context) { + LLVMContext& Context) { Err.setFilename(Filename); std::string ErrorStr; @@ -39,7 +39,7 @@ Module *llvm::ParseAssemblyFile(const std::string &Filename, ParseError &Err, } Module *llvm::ParseAssemblyString(const char *AsmString, Module *M, - ParseError &Err, const LLVMContext& Context) { + ParseError &Err, LLVMContext& Context) { Err.setFilename("<string>"); OwningPtr<MemoryBuffer> |