Searched refs:getReplacementToken (Results 1 – 13 of 13) sorted by relevance
2475 const Token &Value = MI->getReplacementToken(0); in isConfigurationPattern()2651 if (MI->getReplacementToken(NumTokens - 2).is(tok::hashhash)) { in ReadOptionalMacroParameterListAndBody()2692 MI->getReplacementToken(NumTokens-1).is(tok::comma)) in ReadOptionalMacroParameterListAndBody()2780 if (MI->getReplacementToken(0).is(tok::hashhash)) { in HandleDefineDirective()2781 Diag(MI->getReplacementToken(0), diag::err_paste_at_start); in HandleDefineDirective()2784 if (MI->getReplacementToken(NumTokens-1).is(tok::hashhash)) { in HandleDefineDirective()2785 Diag(MI->getReplacementToken(NumTokens-1), diag::err_paste_at_end); in HandleDefineDirective()
266 DumpToken(MI.getReplacementToken(i)); in DumpMacro()
2221 const Token &Value = MI->getReplacementToken(0); in isConfigurationPattern()2401 MI->getReplacementToken(NumTokens-1).is(tok::comma)) in HandleDefineDirective()2456 if (MI->getReplacementToken(0).is(tok::hashhash)) { in HandleDefineDirective()2457 Diag(MI->getReplacementToken(0), diag::err_paste_at_start); in HandleDefineDirective()2460 if (MI->getReplacementToken(NumTokens-1).is(tok::hashhash)) { in HandleDefineDirective()2461 Diag(MI->getReplacementToken(NumTokens-1), diag::err_paste_at_end); in HandleDefineDirective()
245 DumpToken(MI.getReplacementToken(i)); in DumpMacro()
345 IdentifierInfo *II = MI->getReplacementToken(0).getIdentifierInfo(); in isTrivialSingleTokenExpansion()537 Identifier = MI->getReplacementToken(0); in HandleMacroExpandedIdentifier()
235 const Token &getReplacementToken(unsigned Tok) const { in getReplacementToken() function
233 const Token &getReplacementToken(unsigned Tok) const { in getReplacementToken() function
62 BoolMacro->getReplacementToken(0).is(tok::kw__Bool); in getPrintingPolicy()
82 BoolMacro->getReplacementToken(0).is(tok::kw__Bool); in getPrintingPolicy()
2286 const Token &Tok = MI->getReplacementToken(TokNo); in WritePreprocessor()
7876 SourceRange DefRange(MI->getReplacementToken(0).getLocation(), in checkForMacroInMacroDefinition()
2322 const Token &Tok = MI->getReplacementToken(TokNo); in WritePreprocessor()
8991 SourceRange DefRange(MI->getReplacementToken(0).getLocation(), in checkForMacroInMacroDefinition()