Lines Matching refs:TokenLexer
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::destroy() {
120 // TokenLexer owns its formal arguments.
124 bool TokenLexer::MaybeRemoveCommaBeforeVaArgs(
171 void TokenLexer::ExpandFunctionArguments() {
401 // when this TokenLexer finishes lexing them.
419 bool TokenLexer::Lex(Token &Tok) {
523 bool TokenLexer::PasteTokens(Token &Tok) {
704 unsigned TokenLexer::isNextTokenLParen() const {
713 bool TokenLexer::isParsingPreprocessorDirective() const {
722 void TokenLexer::HandleMicrosoftCommentPaste(Token &Tok) {
739 TokenLexer::getExpansionLocForMacroDefLoc(SourceLocation loc) const {
825 void TokenLexer::updateLocForMacroArgTokens(SourceLocation ArgIdSpellLoc,
847 void TokenLexer::PropagateLineStartLeadingSpaceInfo(Token &Result) {