Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DTokenLexer.h29 class TokenLexer {
102 TokenLexer(const TokenLexer &) = delete;
103 void operator=(const TokenLexer &) = delete;
109 TokenLexer(Token &Tok, SourceLocation ILEnd, MacroInfo *MI, in TokenLexer() function
125 TokenLexer(const Token *TokArray, unsigned NumToks, bool DisableExpansion, in TokenLexer() function
139 ~TokenLexer() { destroy(); } in ~TokenLexer()
DPreprocessor.h308 std::unique_ptr<TokenLexer> CurTokenLexer;
332 std::unique_ptr<TokenLexer> TheTokenLexer;
341 std::unique_ptr<TokenLexer> &&TheTokenLexer, in IncludeStackInfo()
596 std::unique_ptr<TokenLexer> TokenLexerCache[TokenLexerCacheSize];
605 std::vector<std::pair<TokenLexer *, size_t> > MacroExpandingLexersStack;
1788 Token *cacheMacroExpandedTokens(TokenLexer *tokLexer,
1791 friend void TokenLexer::ExpandFunctionArguments();
/external/clang/lib/Lex/
DTokenLexer.cpp26 void TokenLexer::Init(Token &Tok, SourceLocation ELEnd, MacroInfo *MI, in Init()
81 void TokenLexer::Init(const Token *TokArray, unsigned NumToks, in Init()
108 void TokenLexer::destroy() { in destroy()
121 bool TokenLexer::MaybeRemoveCommaBeforeVaArgs( in MaybeRemoveCommaBeforeVaArgs()
173 void TokenLexer::ExpandFunctionArguments() { in ExpandFunctionArguments()
419 bool TokenLexer::Lex(Token &Tok) { in Lex()
523 bool TokenLexer::PasteTokens(Token &Tok) { in PasteTokens()
705 unsigned TokenLexer::isNextTokenLParen() const { in isNextTokenLParen()
714 bool TokenLexer::isParsingPreprocessorDirective() const { in isParsingPreprocessorDirective()
723 void TokenLexer::HandleMicrosoftCommentPaste(Token &Tok, SourceLocation OpLoc) { in HandleMicrosoftCommentPaste()
[all …]
DPPLexerChange.cpp164 std::unique_ptr<TokenLexer> TokLexer; in EnterMacro()
166 TokLexer = llvm::make_unique<TokenLexer>(Tok, ILEnd, Macro, Args, *this); in EnterMacro()
214 std::unique_ptr<TokenLexer> TokLexer; in EnterTokenStream()
216 TokLexer = llvm::make_unique<TokenLexer>( in EnterTokenStream()
DCMakeLists.txt27 TokenLexer.cpp
DPPMacroExpansion.cpp976 Token *Preprocessor::cacheMacroExpandedTokens(TokenLexer *tokLexer, in cacheMacroExpandedTokens()
991 TokenLexer *prevLexer; in cacheMacroExpandedTokens()
/external/swiftshader/src/OpenGL/compiler/preprocessor/
DMacroExpander.cpp32 class TokenLexer : public Lexer class
37 TokenLexer(TokenVector *tokens) in TokenLexer() function in pp::__anon3db572b20111::TokenLexer
57 PP_DISALLOW_COPY_AND_ASSIGN(TokenLexer);
441 TokenLexer lexer(&arg); in collectMacroArgs()
/external/clang/docs/
DInternalsManual.rst564 :ref:`TokenLexer <TokenLexer>` class).
765 The ``TokenLexer`` class
768 The ``TokenLexer`` class is a token provider that returns tokens from a list of