Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/include/clang/Lex/
HDPreprocessor.h327 std::unique_ptr<Lexer> TheLexer; member
336 std::unique_ptr<Lexer> &&TheLexer, in IncludeStackInfo()
342 TheSubmodule(std::move(TheSubmodule)), TheLexer(std::move(TheLexer)), in IncludeStackInfo()
350 TheLexer(std::move(RHS.TheLexer)), in IncludeStackInfo()
1666 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
1781 void EnterSourceFileWithLexer(Lexer *TheLexer, const DirectoryLookup *Dir);
1800 return IsFileLexer(I.TheLexer.get(), I.ThePPLexer); in IsFileLexer()
/NextBSD/contrib/llvm/tools/clang/lib/Lex/
HDLexer.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 …]
HDPPLexerChange.cpp110 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer() argument
117 CurLexer.reset(TheLexer); in EnterSourceFileWithLexer()
118 CurPPLexer = TheLexer; in EnterSourceFileWithLexer()
HDPPMacroExpansion.cpp391 if (Entry.TheLexer) in isNextPPTokenLParen()
392 Val = Entry.TheLexer->isNextPPTokenLParen(); in isNextPPTokenLParen()
1562 PreprocessorLexer *TheLexer = getCurrentFileLexer(); in ExpandBuiltinMacro() local
1564 if (TheLexer) in ExpandBuiltinMacro()
1565 CurFile = SourceMgr.getFileEntryForID(TheLexer->getFileID()); in ExpandBuiltinMacro()
HDPragma.cpp423 PreprocessorLexer *TheLexer = getCurrentFileLexer(); in HandlePragmaSystemHeader() local
426 HeaderInfo.MarkFileSystemHeader(TheLexer->getFileEntry()); in HandlePragmaSystemHeader()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDExpr.cpp1033 Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), Features, in getLocationOfByte() local
1036 TheLexer.LexFromRawLexer(TheTok); in getLocationOfByte()