Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DPreprocessor.h328 std::unique_ptr<Lexer> TheLexer; member
337 std::unique_ptr<Lexer> &&TheLexer, in IncludeStackInfo()
343 TheSubmodule(std::move(TheSubmodule)), TheLexer(std::move(TheLexer)), in IncludeStackInfo()
351 TheLexer(std::move(RHS.TheLexer)), in IncludeStackInfo()
1671 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
1786 void EnterSourceFileWithLexer(Lexer *TheLexer, const DirectoryLookup *Dir);
1805 return IsFileLexer(I.TheLexer.get(), I.ThePPLexer); in IsFileLexer()
/external/clang/lib/Lex/
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 …]
DPPLexerChange.cpp111 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer() argument
118 CurLexer.reset(TheLexer); in EnterSourceFileWithLexer()
119 CurPPLexer = TheLexer; in EnterSourceFileWithLexer()
DPPMacroExpansion.cpp395 if (Entry.TheLexer) in isNextPPTokenLParen()
396 Val = Entry.TheLexer->isNextPPTokenLParen(); in isNextPPTokenLParen()
1569 PreprocessorLexer *TheLexer = getCurrentFileLexer(); in ExpandBuiltinMacro() local
1571 if (TheLexer) in ExpandBuiltinMacro()
1572 CurFile = SourceMgr.getFileEntryForID(TheLexer->getFileID()); in ExpandBuiltinMacro()
DPragma.cpp427 PreprocessorLexer *TheLexer = getCurrentFileLexer(); in HandlePragmaSystemHeader() local
430 HeaderInfo.MarkFileSystemHeader(TheLexer->getFileEntry()); in HandlePragmaSystemHeader()
/external/clang/lib/StaticAnalyzer/Checkers/
DLocalizationChecker.cpp940 Lexer TheLexer(SL, LangOptions(), BF->getBufferStart(), in VisitObjCMessageExpr() local
946 while (!TheLexer.LexFromRawLexer(I)) { in VisitObjCMessageExpr()
/external/clang/lib/AST/
DExpr.cpp1062 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), Features, in getLocationOfByte() local
1065 TheLexer.LexFromRawLexer(TheTok); in getLocationOfByte()