Home
last modified time | relevance | path

Searched refs:ResultToks (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DTokenLexer.cpp140 SmallVectorImpl<Token> &ResultToks, bool HasPasteOperator, MacroInfo *Macro, in MaybeRemoveCommaBeforeVaArgs() argument
162 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() argument
193 const unsigned int NumVAOptTokens = ResultToks.size() - NumToksPriorToVAOpt; in stringifyVAOPTContents()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DTokenLexer.h205 void stringifyVAOPTContents(SmallVectorImpl<Token> &ResultToks,
235 bool MaybeRemoveCommaBeforeVaArgs(SmallVectorImpl<Token> &ResultToks,