aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser/LLLexer.h
diff options
context:
space:
mode:
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 995aa4e..49a63a1 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() {