Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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.h771 std::unique_ptr<TokenLexer> CurTokenLexer;
789 std::unique_ptr<TokenLexer> TheTokenLexer;
797 std::unique_ptr<TokenLexer> &&TheTokenLexer, in IncludeStackInfo()
1124 std::unique_ptr<TokenLexer> TokenLexerCache[TokenLexerCacheSize];
1133 std::vector<std::pair<TokenLexer *, size_t>> MacroExpandingLexersStack;
2469 friend void TokenLexer::ExpandFunctionArguments();
2628 Token *cacheMacroExpandedTokens(TokenLexer *tokLexer,
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DTokenLexer.cpp40 void TokenLexer::Init(Token &Tok, SourceLocation ELEnd, MacroInfo *MI, in Init()
96 void TokenLexer::Init(const Token *TokArray, unsigned NumToks, in Init()
126 void TokenLexer::destroy() { in destroy()
139 bool TokenLexer::MaybeRemoveCommaBeforeVaArgs( in MaybeRemoveCommaBeforeVaArgs()
189 void TokenLexer::stringifyVAOPTContents( in stringifyVAOPTContents()
244 void TokenLexer::ExpandFunctionArguments() { in ExpandFunctionArguments()
622 bool TokenLexer::Lex(Token &Tok) { in Lex()
724 bool TokenLexer::pasteTokens(Token &Tok) { in pasteTokens()
732 bool TokenLexer::pasteTokens(Token &LHSTok, ArrayRef<Token> TokenStream, in pasteTokens()
927 unsigned TokenLexer::isNextTokenLParen() const { in isNextTokenLParen()
[all …]
H A DPPLexerChange.cpp153 std::unique_ptr<TokenLexer> TokLexer; in EnterMacro()
155 TokLexer = std::make_unique<TokenLexer>(Tok, ILEnd, Macro, Args, *this); in EnterMacro()
205 std::unique_ptr<TokenLexer> TokLexer; in EnterTokenStream()
207 TokLexer = std::make_unique<TokenLexer>( in EnterTokenStream()
H A DPPMacroExpansion.cpp1060 Token *Preprocessor::cacheMacroExpandedTokens(TokenLexer *tokLexer, in cacheMacroExpandedTokens()
1075 TokenLexer *prevLexer; in cacheMacroExpandedTokens()
/freebsd/lib/clang/libclang/
H A DMakefile518 SRCS_MIN+= Lex/TokenLexer.cpp