diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-21 05:06:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-21 05:06:04 +0000 |
commit | 7ee5d5f97b3fa709038ff7fd640dc775efaadc26 (patch) | |
tree | 94ad4c8268c7b77b3b828c9cc0f0c868930c20aa /utils/TableGen/TGLexer.h | |
parent | 8070ea3f068980d08cc10381f4c9369d19a91353 (diff) | |
download | llvm-7ee5d5f97b3fa709038ff7fd640dc775efaadc26.tar.gz llvm-7ee5d5f97b3fa709038ff7fd640dc775efaadc26.tar.bz2 llvm-7ee5d5f97b3fa709038ff7fd640dc775efaadc26.tar.xz |
move include searching logic from TGLexer to SourceMgr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/TGLexer.h')
-rw-r--r-- | utils/TableGen/TGLexer.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/utils/TableGen/TGLexer.h b/utils/TableGen/TGLexer.h index 38a1d2f2ee..2d1958e880 100644 --- a/utils/TableGen/TGLexer.h +++ b/utils/TableGen/TGLexer.h @@ -73,17 +73,10 @@ class TGLexer { /// by the SourceMgr object. int CurBuffer; - // IncludeDirectories - This is the list of directories we should search for - // include files in. - std::vector<std::string> IncludeDirectories; public: TGLexer(SourceMgr &SrcMgr); ~TGLexer() {} - void setIncludeDirs(const std::vector<std::string> &Dirs) { - IncludeDirectories = Dirs; - } - tgtok::TokKind Lex() { return CurCode = LexToken(); } |