Home | History | Annotate | Download | only in Option

Lines Matching refs:Args

31     assert(getAlias().isValid() && "Only alias options can have alias args.");
32 assert(getKind() == FlagClass && "Only Flag aliases can have alias args.");
34 "Cannot provide alias args to a flag option.");
103 Arg *Option::accept(const ArgList &Args,
110 Spelling = StringRef(Args.getArgString(Index), ArgSize);
112 Spelling = Args.MakeArgString(Twine(UnaliasedOption.getPrefix()) +
118 if (ArgSize != strlen(Args.getArgString(Index)))
134 const char *Value = Args.getArgString(Index) + ArgSize;
139 const char *Str = Args.getArgString(Index) + ArgSize;
168 if (ArgSize != strlen(Args.getArgString(Index)))
172 if (Index > Args.getNumInputArgStrings())
176 Index - 2, Args.getArgString(Index - 1));
180 if (ArgSize != strlen(Args.getArgString(Index)))
184 if (Index > Args.getNumInputArgStrings())
188 Args.getArgString(Index - getNumArgs()));
190 A->getValues().push_back(Args.getArgString(Index - getNumArgs() + i));
196 if (ArgSize != strlen(Args.getArgString(Index))) {
197 const char *Value = Args.getArgString(Index) + ArgSize;
203 if (Index > Args.getNumInputArgStrings())
207 Index - 2, Args.getArgString(Index - 1));
212 if (Index > Args.getNumInputArgStrings())
216 Args.getArgString(Index - 2) + ArgSize,
217 Args.getArgString(Index - 1));
221 if (ArgSize != strlen(Args.getArgString(Index)))
224 while (Index < Args.getNumInputArgStrings())
225 A->getValues().push_back(Args.getArgString(Index++));