summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/TGParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/TableGen/TGParser.h')
-rw-r--r--llvm/utils/TableGen/TGParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/TGParser.h b/llvm/utils/TableGen/TGParser.h
index edbc4c1fc9d..a1aa8a9c2b8 100644
--- a/llvm/utils/TableGen/TGParser.h
+++ b/llvm/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);}
OpenPOWER on IntegriCloud