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

/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DTokenLexer.h1 //===--- 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.
84 /// OwnsTokens - This is true if this TokenLexer allocated the Tokens
90 /// DisableMacroExpansion - This is true when tokens lexed from the TokenLexer
94 TokenLexer(const TokenLexer &) LLVM_DELETED_FUNCTION;
95 void operator=(const TokenLexer
101 TokenLexer(Token &Tok, SourceLocation ILEnd, MacroInfo *MI, function in class:clang::TokenLexer
117 TokenLexer(const Token *TokArray, unsigned NumToks, bool DisableExpansion, function in class:clang::TokenLexer
[all...]
H A DPreprocessor.h27 #include "clang/Lex/TokenLexer.h"
268 OwningPtr<TokenLexer> CurTokenLexer;
287 TokenLexer *TheTokenLexer;
292 TokenLexer* TL, const DirectoryLookup *D)
355 TokenLexer *TokenLexerCache[TokenLexerCacheSize];
359 /// Works like a stack; a TokenLexer adds the macro expanded tokens that is
363 std::vector<std::pair<TokenLexer *, size_t> > MacroExpandingLexersStack;
1178 /// TokenLexer hits the end of its token stream.
1349 /// Works like a stack; a TokenLexer adds the macro expanded tokens that is
1352 Token *cacheMacroExpandedTokens(TokenLexer *tokLexe
[all...]
/freebsd-10.2-release/lib/clang/libclanglex/
H A DMakefile29 TokenLexer.cpp
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Lex/
H A DTokenLexer.cpp1 //===--- 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
80 /// Create a TokenLexer for the specified token stream. This does not
82 void TokenLexer::Init(const Token *TokArray, unsigned NumToks,
84 // If the client is reusing a TokenLexer, make sure to free any memory
109 void TokenLexer
[all...]
H A DPPLexerChange.cpp161 TokenLexer *TokLexer;
163 TokLexer = new TokenLexer(Tok, ILEnd, Macro, Args, *this);
192 TokenLexer *TokLexer;
194 TokLexer = new TokenLexer(Toks, NumToks, DisableMacroExpansion,
487 /// HandleEndOfTokenLexer - This callback is invoked when the current TokenLexer
H A DPPMacroExpansion.cpp779 /// Works like a stack; a TokenLexer adds the macro expanded tokens that is
782 Token *Preprocessor::cacheMacroExpandedTokens(TokenLexer *tokLexer,
797 TokenLexer *prevLexer;

Completed in 36 milliseconds