Searched refs:TheLexer (Results 1 – 7 of 7) sorted by relevance
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/Lex/ |
| D | PPLexerChange.cpp | 110 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer() argument 117 CurLexer.reset(TheLexer); in EnterSourceFileWithLexer() 118 CurPPLexer = TheLexer; in EnterSourceFileWithLexer()
|
| D | Lexer.cpp | 461 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, in getRawToken() local 463 TheLexer.SetCommentRetentionState(true); in getRawToken() 464 TheLexer.LexFromRawLexer(Result); in getRawToken() 503 Lexer TheLexer(LexerStartLoc, LangOpts, BufStart, LexStart, Buffer.end()); in getBeginningOfFileToken() local 504 TheLexer.SetCommentRetentionState(true); in getBeginningOfFileToken() 509 TheLexer.LexFromRawLexer(TheTok); in getBeginningOfFileToken() 511 if (TheLexer.getBufferLocation() > StrData) { in getBeginningOfFileToken() 515 if (TheLexer.getBufferLocation() - TheTok.getLength() <= StrData) in getBeginningOfFileToken() 564 Lexer TheLexer(FileLoc, LangOpts, Buffer->getBufferStart(), in ComputePreamble() local 566 TheLexer.SetCommentRetentionState(true); in ComputePreamble() [all …]
|
| D | PPMacroExpansion.cpp | 188 if (Entry.TheLexer) in isNextPPTokenLParen() 189 Val = Entry.TheLexer->isNextPPTokenLParen(); in isNextPPTokenLParen() 1346 PreprocessorLexer *TheLexer = getCurrentFileLexer(); in ExpandBuiltinMacro() local 1348 if (TheLexer) in ExpandBuiltinMacro() 1349 CurFile = SourceMgr.getFileEntryForID(TheLexer->getFileID()); in ExpandBuiltinMacro()
|
| D | Pragma.cpp | 426 PreprocessorLexer *TheLexer = getCurrentFileLexer(); in HandlePragmaSystemHeader() local 429 HeaderInfo.MarkFileSystemHeader(TheLexer->getFileEntry()); in HandlePragmaSystemHeader()
|
| D | Preprocessor.cpp | 145 delete IncludeMacroStack.back().TheLexer; in ~Preprocessor()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Lex/ |
| D | Preprocessor.h | 284 Lexer *TheLexer; member 293 : CurLexerKind(K), TheLexer(L), ThePTHLexer(P), ThePPLexer(PPL), in IncludeStackInfo() 1277 CurLexer.reset(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack() 1383 void EnterSourceFileWithLexer(Lexer *TheLexer, const DirectoryLookup *Dir); 1402 return IsFileLexer(I.TheLexer, I.ThePPLexer); in IsFileLexer()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/AST/ |
| D | Expr.cpp | 1007 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), Features, in getLocationOfByte() local 1010 TheLexer.LexFromRawLexer(TheTok); in getLocationOfByte()
|