summaryrefslogtreecommitdiff
path: root/lib/AsmParser/LLLexer.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-02 22:46:18 +0000
committerChris Lattner <sabre@nondot.org>2009-07-02 22:46:18 +0000
commit92bcb426c3e4503c99324afd4ed0a73521711a56 (patch)
treee8f7a3d1a6ec95fa77eb1c5590fa2a5f96ab2075 /lib/AsmParser/LLLexer.h
parent7e1e31f467d87c834d8baf673929865907901313 (diff)
downloadllvm-92bcb426c3e4503c99324afd4ed0a73521711a56.tar.gz
llvm-92bcb426c3e4503c99324afd4ed0a73521711a56.tar.bz2
llvm-92bcb426c3e4503c99324afd4ed0a73521711a56.tar.xz
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/LLLexer.h')
-rw-r--r--lib/AsmParser/LLLexer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/AsmParser/LLLexer.h b/lib/AsmParser/LLLexer.h
index 995aa4eb07..49a63a1692 100644
--- a/lib/AsmParser/LLLexer.h
+++ b/lib/AsmParser/LLLexer.h
@@ -22,12 +22,12 @@
namespace llvm {
class MemoryBuffer;
class Type;
- class ParseError;
+ class SMDiagnostic;
class LLLexer {
const char *CurPtr;
MemoryBuffer *CurBuf;
- ParseError &ErrorInfo;
+ SMDiagnostic &ErrorInfo;
// Information about the current token.
const char *TokStart;
@@ -40,7 +40,7 @@ namespace llvm {
std::string TheError;
public:
- explicit LLLexer(MemoryBuffer *StartBuf, ParseError &);
+ explicit LLLexer(MemoryBuffer *StartBuf, SMDiagnostic &);
~LLLexer() {}
lltok::Kind Lex() {