Home
last modified time | relevance | path

Searched refs:TheLexer (Results 1 – 6 of 6) sorted by relevance

/external/clang/include/clang/Lex/
DPreprocessor.h322 std::unique_ptr<Lexer> TheLexer; member
331 std::unique_ptr<Lexer> &&TheLexer, in IncludeStackInfo()
337 TheSubmodule(std::move(TheSubmodule)), TheLexer(std::move(TheLexer)), in IncludeStackInfo()
345 TheLexer(std::move(RHS.TheLexer)), in IncludeStackInfo()
1397 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
1510 void EnterSourceFileWithLexer(Lexer *TheLexer, const DirectoryLookup *Dir);
1529 return IsFileLexer(I.TheLexer.get(), I.ThePPLexer); in IsFileLexer()
/external/clang/lib/Lex/
DPPLexerChange.cpp110 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer() argument
117 CurLexer.reset(TheLexer); in EnterSourceFileWithLexer()
118 CurPPLexer = TheLexer; in EnterSourceFileWithLexer()
DLexer.cpp442 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, in getRawToken() local
444 TheLexer.SetCommentRetentionState(true); in getRawToken()
445 TheLexer.LexFromRawLexer(Result); in getRawToken()
484 Lexer TheLexer(LexerStartLoc, LangOpts, BufStart, LexStart, Buffer.end()); in getBeginningOfFileToken() local
485 TheLexer.SetCommentRetentionState(true); in getBeginningOfFileToken()
490 TheLexer.LexFromRawLexer(TheTok); in getBeginningOfFileToken()
492 if (TheLexer.getBufferLocation() > StrData) { in getBeginningOfFileToken()
496 if (TheLexer.getBufferLocation() - TheTok.getLength() <= StrData) in getBeginningOfFileToken()
545 Lexer TheLexer(FileLoc, LangOpts, Buffer.begin(), Buffer.begin(), in ComputePreamble() local
547 TheLexer.SetCommentRetentionState(true); in ComputePreamble()
[all …]
DPPMacroExpansion.cpp200 if (Entry.TheLexer) in isNextPPTokenLParen()
201 Val = Entry.TheLexer->isNextPPTokenLParen(); in isNextPPTokenLParen()
1366 PreprocessorLexer *TheLexer = getCurrentFileLexer(); in ExpandBuiltinMacro() local
1368 if (TheLexer) in ExpandBuiltinMacro()
1369 CurFile = SourceMgr.getFileEntryForID(TheLexer->getFileID()); in ExpandBuiltinMacro()
DPragma.cpp422 PreprocessorLexer *TheLexer = getCurrentFileLexer(); in HandlePragmaSystemHeader() local
425 HeaderInfo.MarkFileSystemHeader(TheLexer->getFileEntry()); in HandlePragmaSystemHeader()
/external/clang/lib/AST/
DExpr.cpp1033 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), Features, in getLocationOfByte() local
1036 TheLexer.LexFromRawLexer(TheTok); in getLocationOfByte()