diff options
Diffstat (limited to 'llvm/utils/TableGen/TGLexer.h')
-rw-r--r-- | llvm/utils/TableGen/TGLexer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/TGLexer.h b/llvm/utils/TableGen/TGLexer.h index ac3b9840039..82f312a3388 100644 --- a/llvm/utils/TableGen/TGLexer.h +++ b/llvm/utils/TableGen/TGLexer.h @@ -23,7 +23,7 @@ namespace llvm { class MemoryBuffer; class TGSourceMgr; -class TGLoc; +class SMLoc; namespace tgtok { enum TokKind { @@ -101,10 +101,10 @@ public: return CurIntVal; } - TGLoc getLoc() const; + SMLoc getLoc() const; void PrintError(const char *Loc, const std::string &Msg) const; - void PrintError(TGLoc Loc, const std::string &Msg) const; + void PrintError(SMLoc Loc, const std::string &Msg) const; private: /// LexToken - Read the next token and return its code. |