Searched refs:TokenLexer (Results 1 - 7 of 7) sorted by relevance
/external/clang/include/clang/Lex/ |
H A D | TokenLexer.h | 1 //===--- TokenLexer.h - Lex from a token buffer -----------------*- C++ -*-===// 10 // This file defines the TokenLexer interface. 25 /// TokenLexer - This implements a lexer that returns tokens from a macro body 29 class TokenLexer { class in namespace:clang 36 /// null. The TokenLexer owns the pointed-to object. 92 /// OwnsTokens - This is true if this TokenLexer allocated the Tokens 98 /// DisableMacroExpansion - This is true when tokens lexed from the TokenLexer 102 TokenLexer(const TokenLexer &) LLVM_DELETED_FUNCTION; 103 void operator=(const TokenLexer 109 TokenLexer(Token &Tok, SourceLocation ILEnd, MacroInfo *MI, function in class:clang::TokenLexer 125 TokenLexer(const Token *TokArray, unsigned NumToks, bool DisableExpansion, function in class:clang::TokenLexer [all...] |
H A D | Preprocessor.h | 28 #include "clang/Lex/TokenLexer.h" 283 std::unique_ptr<TokenLexer> CurTokenLexer; 307 std::unique_ptr<TokenLexer> TheTokenLexer; 316 std::unique_ptr<TokenLexer> &&TheTokenLexer, 394 TokenLexer *TokenLexerCache[TokenLexerCacheSize]; 399 /// Works like a stack; a TokenLexer adds the macro expanded tokens that is 403 std::vector<std::pair<TokenLexer *, size_t> > MacroExpandingLexersStack; 1253 /// \brief Callback invoked when the current TokenLexer hits the end of its 1433 /// Works like a stack; a TokenLexer adds the macro expanded tokens that is 1436 Token *cacheMacroExpandedTokens(TokenLexer *tokLexe [all...] |
/external/clang/lib/Lex/ |
H A D | Android.mk | 34 TokenLexer.cpp
|
H A D | TokenLexer.cpp | 1 //===--- TokenLexer.cpp - Lex from a token stream -------------------------===// 10 // This file implements the TokenLexer interface. 14 #include "clang/Lex/TokenLexer.h" 24 /// Create a TokenLexer for the specified macro with the specified actual 26 void TokenLexer::Init(Token &Tok, SourceLocation ELEnd, MacroInfo *MI, 28 // If the client is reusing a TokenLexer, make sure to free any memory 81 /// Create a TokenLexer for the specified token stream. This does not 83 void TokenLexer::Init(const Token *TokArray, unsigned NumToks, 85 // If the client is reusing a TokenLexer, make sure to free any memory 111 void TokenLexer [all...] |
H A D | PPLexerChange.cpp | 163 TokenLexer *TokLexer; 165 TokLexer = new TokenLexer(Tok, ILEnd, Macro, Args, *this); 194 TokenLexer *TokLexer; 196 TokLexer = new TokenLexer(Toks, NumToks, DisableMacroExpansion, 515 /// HandleEndOfTokenLexer - This callback is invoked when the current TokenLexer
|
H A D | PPMacroExpansion.cpp | 775 /// Works like a stack; a TokenLexer adds the macro expanded tokens that is 778 Token *Preprocessor::cacheMacroExpandedTokens(TokenLexer *tokLexer, 793 TokenLexer *prevLexer;
|
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
H A D | MacroExpander.cpp | 18 class TokenLexer : public Lexer class in namespace:pp 23 TokenLexer(TokenVector *tokens) function in class:pp::TokenLexer 43 PP_DISALLOW_COPY_AND_ASSIGN(TokenLexer); 319 TokenLexer lexer(&arg);
|
Completed in 217 milliseconds