aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/TGParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/TableGen/TGParser.h')
-rw-r--r--utils/TableGen/TGParser.h2
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);}