Home
last modified time | relevance | path

Searched refs:TokenLexer (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Lex/
H A DTokenLexer.h30 class TokenLexer {
108 TokenLexer(Token &Tok, SourceLocation ILEnd, MacroInfo *MI, in TokenLexer() function
117 TokenLexer(const Token *TokArray, unsigned NumToks, bool DisableExpansion, in TokenLexer() function
123 TokenLexer(const TokenLexer &) = delete;
124 TokenLexer &operator=(const TokenLexer &) = delete;
125 ~TokenLexer() { destroy(); } in ~TokenLexer()
H A DPreprocessor.h616 std::unique_ptr<TokenLexer> CurTokenLexer;
639 std::unique_ptr<TokenLexer> TheTokenLexer;
647 std::unique_ptr<TokenLexer> &&TheTokenLexer, in IncludeStackInfo()
970 std::unique_ptr<TokenLexer> TokenLexerCache[TokenLexerCacheSize];
979 std::vector<std::pair<TokenLexer *, size_t>> MacroExpandingLexersStack;
2254 friend void TokenLexer::ExpandFunctionArguments();
2391 Token *cacheMacroExpandedTokens(TokenLexer *tokLexer,
/llvm-project-15.0.7/clang/lib/Lex/
H A DTokenLexer.cpp38 void TokenLexer::Init(Token &Tok, SourceLocation ELEnd, MacroInfo *MI, in Init()
94 void TokenLexer::Init(const Token *TokArray, unsigned NumToks, in Init()
124 void TokenLexer::destroy() { in destroy()
137 bool TokenLexer::MaybeRemoveCommaBeforeVaArgs( in MaybeRemoveCommaBeforeVaArgs()
187 void TokenLexer::stringifyVAOPTContents( in stringifyVAOPTContents()
242 void TokenLexer::ExpandFunctionArguments() { in ExpandFunctionArguments()
621 bool TokenLexer::Lex(Token &Tok) { in Lex()
723 bool TokenLexer::pasteTokens(Token &Tok) { in pasteTokens()
926 unsigned TokenLexer::isNextTokenLParen() const { in isNextTokenLParen()
935 bool TokenLexer::isParsingPreprocessorDirective() const { in isParsingPreprocessorDirective()
[all …]
H A DCMakeLists.txt28 TokenLexer.cpp
H A DPPLexerChange.cpp152 std::unique_ptr<TokenLexer> TokLexer; in EnterMacro()
154 TokLexer = std::make_unique<TokenLexer>(Tok, ILEnd, Macro, Args, *this); in EnterMacro()
204 std::unique_ptr<TokenLexer> TokLexer; in EnterTokenStream()
206 TokLexer = std::make_unique<TokenLexer>( in EnterTokenStream()
H A DPPMacroExpansion.cpp1048 Token *Preprocessor::cacheMacroExpandedTokens(TokenLexer *tokLexer, in cacheMacroExpandedTokens()
1063 TokenLexer *prevLexer; in cacheMacroExpandedTokens()
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/Lex/
H A DBUILD.gn31 "TokenLexer.cpp",
/llvm-project-15.0.7/clang/docs/
H A DInternalsManual.rst1012 :ref:`TokenLexer <TokenLexer>` class).
1213 The ``TokenLexer`` class
1216 The ``TokenLexer`` class is a token provider that returns tokens from a list of