Home
last modified time | relevance | path

Searched refs:TokenLexer (Results 1 – 7 of 7) 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.h795 std::unique_ptr<TokenLexer> CurTokenLexer;
813 std::unique_ptr<TokenLexer> TheTokenLexer;
821 std::unique_ptr<TokenLexer> &&TheTokenLexer, in IncludeStackInfo()
1132 std::unique_ptr<TokenLexer> TokenLexerCache[TokenLexerCacheSize];
1141 std::vector<std::pair<TokenLexer *, size_t>> MacroExpandingLexersStack;
2544 friend void TokenLexer::ExpandFunctionArguments();
2716 Token *cacheMacroExpandedTokens(TokenLexer *tokLexer,
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DTokenLexer.cpp39 void TokenLexer::Init(Token &Tok, SourceLocation ELEnd, MacroInfo *MI, in Init()
95 void TokenLexer::Init(const Token *TokArray, unsigned NumToks, in Init()
125 void TokenLexer::destroy() { in destroy()
138 bool TokenLexer::MaybeRemoveCommaBeforeVaArgs( in MaybeRemoveCommaBeforeVaArgs()
188 void TokenLexer::stringifyVAOPTContents( in stringifyVAOPTContents()
243 void TokenLexer::ExpandFunctionArguments() { in ExpandFunctionArguments()
621 bool TokenLexer::Lex(Token &Tok) { in Lex()
723 bool TokenLexer::pasteTokens(Token &Tok) { in pasteTokens()
731 bool TokenLexer::pasteTokens(Token &LHSTok, ArrayRef<Token> TokenStream, in pasteTokens()
937 std::optional<Token> TokenLexer::peekNextPPToken() const { in peekNextPPToken()
[all …]
H A DPPLexerChange.cpp146 std::unique_ptr<TokenLexer> TokLexer; in EnterMacro()
148 TokLexer = std::make_unique<TokenLexer>(Tok, ILEnd, Macro, Args, *this); in EnterMacro()
198 std::unique_ptr<TokenLexer> TokLexer; in EnterTokenStream()
200 TokLexer = std::make_unique<TokenLexer>( in EnterTokenStream()
H A DPPMacroExpansion.cpp1005 Token *Preprocessor::cacheMacroExpandedTokens(TokenLexer *tokLexer, in cacheMacroExpandedTokens()
1020 TokenLexer *prevLexer; in cacheMacroExpandedTokens()
/freebsd/lib/clang/libclang/
H A DMakefile550 SRCS_MIN+= Lex/TokenLexer.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc11390 {"_ZN5clang10TokenLexer4InitERNS_5TokenENS_14SourceLocationEPNS_9MacroArgsE", "clang::TokenLexer::I…
11391 {"_ZN5clang10TokenLexer7destroyEv", "clang::TokenLexer::destroy()"},
11392 {"_ZN5clang10TokenLexer23ExpandFunctionArgumentsEv", "clang::TokenLexer::ExpandFunctionArguments()"…
11393 {"_ZN5clang10TokenLexer4InitEPKNS_5TokenEjbb", "clang::TokenLexer::Init(clang::Token const*, unsign…
11394 {"_ZN5clang10TokenLexer3LexERNS_5TokenE", "clang::TokenLexer::Lex(clang::Token&)"},
11395 {"_ZN5clang10TokenLexer11PasteTokensERNS_5TokenE", "clang::TokenLexer::PasteTokens(clang::Token&)"},
11396 {"_ZN5clang10TokenLexer27HandleMicrosoftCommentPasteERNS_5TokenE", "clang::TokenLexer::HandleMicros…
11397 {"_ZNK5clang10TokenLexer17isNextTokenLParenEv", "clang::TokenLexer::isNextTokenLParen() const"},