Searched refs:TheLexer (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/Lex/ |
D | PPLexerChange.cpp | 99 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer() argument 106 CurLexer.reset(TheLexer); in EnterSourceFileWithLexer() 107 CurPPLexer = TheLexer; in EnterSourceFileWithLexer()
|
D | Lexer.cpp | 410 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, in MeasureTokenLength() local 412 TheLexer.SetCommentRetentionState(true); in MeasureTokenLength() 414 TheLexer.LexFromRawLexer(TheTok); in MeasureTokenLength() 452 Lexer TheLexer(LexerStartLoc, LangOpts, BufStart, LexStart, Buffer.end()); in GetBeginningOfToken() local 453 TheLexer.SetCommentRetentionState(true); in GetBeginningOfToken() 458 TheLexer.LexFromRawLexer(TheTok); in GetBeginningOfToken() 460 if (TheLexer.getBufferLocation() > StrData) { in GetBeginningOfToken() 464 if (TheLexer.getBufferLocation() - TheTok.getLength() <= StrData) in GetBeginningOfToken() 494 Lexer TheLexer(StartLoc, LangOpts, Buffer->getBufferStart(), in ComputePreamble() local 504 TheLexer.LexFromRawLexer(TheTok); in ComputePreamble() [all …]
|
D | PPMacroExpansion.cpp | 155 if (Entry.TheLexer) in isNextPPTokenLParen() 156 Val = Entry.TheLexer->isNextPPTokenLParen(); in isNextPPTokenLParen() 913 PreprocessorLexer *TheLexer = getCurrentFileLexer(); in ExpandBuiltinMacro() local 915 if (TheLexer) in ExpandBuiltinMacro() 916 CurFile = SourceMgr.getFileEntryForID(TheLexer->getFileID()); in ExpandBuiltinMacro()
|
D | Pragma.cpp | 319 PreprocessorLexer *TheLexer = getCurrentFileLexer(); in HandlePragmaSystemHeader() local 322 HeaderInfo.MarkFileSystemHeader(TheLexer->getFileEntry()); in HandlePragmaSystemHeader()
|
D | Preprocessor.cpp | 125 delete IncludeMacroStack.back().TheLexer; in ~Preprocessor()
|
/external/clang/include/clang/Lex/ |
D | Preprocessor.h | 182 Lexer *TheLexer; member 190 : TheLexer(L), ThePTHLexer(P), ThePPLexer(PPL), TheTokenLexer(TL), in IncludeStackInfo() 944 CurLexer.reset(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack() 1039 void EnterSourceFileWithLexer(Lexer *TheLexer, const DirectoryLookup *Dir); 1052 return IsFileLexer(I.TheLexer, I.ThePPLexer); in IsFileLexer()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 619 Lexer TheLexer(StrTokSpellingLoc, Features, Buffer.begin(), StrData, in getLocationOfByte() local 622 TheLexer.LexFromRawLexer(TheTok); in getLocationOfByte()
|