Lines Matching refs:Arg
11 #include "llvm/Option/Arg.h"
162 static bool isInput(const llvm::StringSet<> &Prefixes, StringRef Arg) {
163 if (Arg == "-")
167 if (Arg.startswith(I->getKey()))
189 Arg *OptTable::ParseOneArg(const ArgList &Args, unsigned &Index,
198 return new Arg(getOption(TheInputOptionID), Str, Index++, Str);
232 if (Arg *A = Opt.accept(Args, Index, ArgSize))
240 // If we failed to find an option and this arg started with /, then it's
243 return new Arg(getOption(TheInputOptionID), Str, Index++, Str);
245 return new Arg(getOption(TheUnknownOptionID), Str, Index++, Str);
273 Arg *A = ParseOneArg(Args, Index, FlagsToInclude, FlagsToExclude);