Searched refs:ResultToks (Results 1 – 2 of 2) sorted by relevance
140 SmallVectorImpl<Token> &ResultToks, bool HasPasteOperator, MacroInfo *Macro, in MaybeRemoveCommaBeforeVaArgs() argument162 if (ResultToks.empty() || !ResultToks.back().is(tok::comma)) in MaybeRemoveCommaBeforeVaArgs()167 PP.Diag(ResultToks.back().getLocation(), diag::ext_paste_comma); in MaybeRemoveCommaBeforeVaArgs()170 ResultToks.pop_back(); in MaybeRemoveCommaBeforeVaArgs()172 if (!ResultToks.empty()) { in MaybeRemoveCommaBeforeVaArgs()177 if (ResultToks.back().is(tok::hashhash)) in MaybeRemoveCommaBeforeVaArgs()178 ResultToks.pop_back(); in MaybeRemoveCommaBeforeVaArgs()181 ResultToks.back().setFlag(Token::CommaAfterElided); in MaybeRemoveCommaBeforeVaArgs()190 SmallVectorImpl<Token> &ResultToks, const VAOptExpansionContext &VCtx, in stringifyVAOPTContents() argument193 const unsigned int NumVAOptTokens = ResultToks.size() - NumToksPriorToVAOpt; in stringifyVAOPTContents()[all …]
205 void stringifyVAOPTContents(SmallVectorImpl<Token> &ResultToks,235 bool MaybeRemoveCommaBeforeVaArgs(SmallVectorImpl<Token> &ResultToks,