Lines Matching refs:Arg
109 Arg *Option::acceptInternal(const ArgList &Args, StringRef Spelling, in acceptInternal()
116 return new Arg(*this, Spelling, Index++); in acceptInternal()
120 return new Arg(*this, Spelling, Index++, Value); in acceptInternal()
125 Arg *A = new Arg(*this, Spelling, Index++); in acceptInternal()
161 return new Arg(*this, Spelling, Index - 2, Args.getArgString(Index - 1)); in acceptInternal()
172 Arg *A = new Arg(*this, Spelling, Index - 1 - getNumArgs(), in acceptInternal()
183 return new Arg(*this, Spelling, Index++, Value); in acceptInternal()
192 return new Arg(*this, Spelling, Index - 2, Args.getArgString(Index - 1)); in acceptInternal()
201 return new Arg(*this, Spelling, Index - 2, in acceptInternal()
209 Arg *A = new Arg(*this, Spelling, Index++); in acceptInternal()
216 Arg *A = new Arg(*this, Spelling, Index); in acceptInternal()
233 Arg *Option::accept(const ArgList &Args, StringRef CurArg, in accept()
235 std::unique_ptr<Arg> A(GroupedShortOption && getKind() == FlagClass in accept()
236 ? new Arg(*this, CurArg, Index) in accept()
262 Arg *UnaliasedA = new Arg(UnaliasedOption, UnaliasedSpelling, A->getIndex()); in accept()
263 Arg *RawA = A.get(); in accept()