Lines Matching refs:NumArgs
423 Parser::parseCommandArgs(TextTokenRetokenizer &Retokenizer, unsigned NumArgs) { in parseCommandArgs() argument
424 auto *Args = new (Allocator.Allocate<Comment::Argument>(NumArgs)) in parseCommandArgs()
425 Comment::Argument[NumArgs]; in parseCommandArgs()
428 while (ParsedArgs < NumArgs && Retokenizer.lexWord(Arg)) { in parseCommandArgs()
439 unsigned NumArgs) { in parseThrowCommandArgs() argument
440 auto *Args = new (Allocator.Allocate<Comment::Argument>(NumArgs)) in parseThrowCommandArgs()
441 Comment::Argument[NumArgs]; in parseThrowCommandArgs()
445 while (ParsedArgs < NumArgs && Retokenizer.lexType(Arg)) { in parseThrowCommandArgs()
456 unsigned NumArgs) { in parseParCommandArgs() argument
457 assert(NumArgs > 0); in parseParCommandArgs()
458 auto *Args = new (Allocator.Allocate<Comment::Argument>(NumArgs)) in parseParCommandArgs()
459 Comment::Argument[NumArgs]; in parseParCommandArgs()
463 while (ParsedArgs < NumArgs && Retokenizer.lexParHeading(Arg)) { in parseParCommandArgs()
515 if (PC || TPC || Info->NumArgs > 0) { in parseBlockCommand()
526 BC, parseThrowCommandArgs(Retokenizer, Info->NumArgs)); in parseBlockCommand()
529 parseParCommandArgs(Retokenizer, Info->NumArgs)); in parseBlockCommand()
531 S.actOnBlockCommandArgs(BC, parseCommandArgs(Retokenizer, Info->NumArgs)); in parseBlockCommand()
579 parseCommandArgs(Retokenizer, Info->NumArgs); in parseInlineCommand()
585 if (Args.size() < Info->NumArgs) { in parseInlineCommand()
589 << Info->NumArgs in parseInlineCommand()