diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-13 07:05:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-13 07:05:43 +0000 |
commit | aa739d26b1e65aec7f9afa1cde7e069c081ea355 (patch) | |
tree | 47022e6176ab05e1d1efdb65d81a29fff79e07ba /utils/TableGen/TGParser.h | |
parent | 49c8aa0d8b2824c70d178c5d55cda64d6613c0d8 (diff) |
split buffer management and diagnostic printing out of the tblgen
lexer into its own TGSourceMgr class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66873 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/TGParser.h')
-rw-r--r-- | utils/TableGen/TGParser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/TGParser.h b/utils/TableGen/TGParser.h index edbc4c1fc9..a1aa8a9c2b 100644 --- a/utils/TableGen/TGParser.h +++ b/utils/TableGen/TGParser.h @@ -47,7 +47,7 @@ class TGParser { public: typedef TGLexer::LocTy LocTy; - TGParser(MemoryBuffer *StartBuf) : Lex(StartBuf), CurMultiClass(0) {} + TGParser(TGSourceMgr &SrcMgr) : Lex(SrcMgr), CurMultiClass(0) {} void setIncludeDirs(const std::vector<std::string> &D){Lex.setIncludeDirs(D);} |