Lines Matching refs:Macro
32 Macro = MI; in Init()
41 Tokens = &*Macro->tokens_begin(); in Init()
44 NumTokens = Macro->tokens_end()-Macro->tokens_begin(); in Init()
61 MacroDefLength = Macro->getDefinitionLength(SM); in Init()
70 if (Macro->isFunctionLike() && Macro->getNumArgs()) in Init()
76 Macro->DisableMacro(); in Init()
87 Macro = nullptr; in Init()
122 SmallVectorImpl<Token> &ResultToks, bool HasPasteOperator, MacroInfo *Macro, in MaybeRemoveCommaBeforeVaArgs() argument
125 if (!Macro->isVariadic() || MacroArgNo != Macro->getNumArgs()-1) in MaybeRemoveCommaBeforeVaArgs()
140 && Macro->getNumArgs() < 2) in MaybeRemoveCommaBeforeVaArgs()
190 int ArgNo = Macro->getArgumentNum(Tokens[i+1].getIdentifierInfo()); in ExpandFunctionArguments()
234 int ArgNo = II ? Macro->getArgumentNum(II) : -1; in ExpandFunctionArguments()
259 Macro, ArgNo, PP)) in ExpandFunctionArguments()
272 ResultArgToks = &ActualArgs->getPreExpArgument(ArgNo, Macro, PP)[0]; in ExpandFunctionArguments()
326 (unsigned)ArgNo == Macro->getNumArgs()-1 && in ExpandFunctionArguments()
327 Macro->isVariadic()) { in ExpandFunctionArguments()
392 Macro, ArgNo, PP); in ExpandFunctionArguments()
424 if (Macro) Macro->EnableMacro(); in Lex()
447 if (!isAtEnd() && Macro && in Lex()
731 assert(Macro && "Token streams can't paste comments"); in HandleMicrosoftCommentPaste()
732 Macro->EnableMacro(); in HandleMicrosoftCommentPaste()