diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-02 22:46:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-02 22:46:18 +0000 |
commit | 92bcb426c3e4503c99324afd4ed0a73521711a56 (patch) | |
tree | e8f7a3d1a6ec95fa77eb1c5590fa2a5f96ab2075 /lib/AsmParser/LLParser.h | |
parent | 7e1e31f467d87c834d8baf673929865907901313 (diff) |
switch the .ll parser into SMDiagnostic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
-rw-r--r-- | lib/AsmParser/LLParser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h index 6691f60536..fdb2147810 100644 --- a/lib/AsmParser/LLParser.h +++ b/lib/AsmParser/LLParser.h @@ -73,7 +73,7 @@ namespace llvm { std::map<unsigned, std::pair<GlobalValue*, LocTy> > ForwardRefValIDs; std::vector<GlobalValue*> NumberedVals; public: - LLParser(MemoryBuffer *F, ParseError &Err, Module *m) : + LLParser(MemoryBuffer *F, SMDiagnostic &Err, Module *m) : Context(m->getContext()), Lex(F, Err), M(m) {} bool Run(); |