Lines Matching refs:Str
175 static unsigned matchOption(const OptTable::Info *I, StringRef Str, in matchOption() argument
179 if (Str.startswith(Prefix)) { in matchOption()
180 StringRef Rest = Str.substr(Prefix.size()); in matchOption()
195 const char *Str = Args.getArgString(Index); in ParseOneArg() local
199 if (isInput(PrefixesUnion, Str)) in ParseOneArg()
200 return new Arg(getOption(TheInputOptionID), Str, Index++, Str); in ParseOneArg()
204 StringRef Name = StringRef(Str).ltrim(PrefixChars); in ParseOneArg()
221 if ((ArgSize = matchOption(Start, Str, IgnoreCase))) in ParseOneArg()
244 if (Str[0] == '/') in ParseOneArg()
245 return new Arg(getOption(TheInputOptionID), Str, Index++, Str); in ParseOneArg()
247 return new Arg(getOption(TheUnknownOptionID), Str, Index++, Str); in ParseOneArg()
269 StringRef Str = Args->getArgString(Index); in ParseArgs() local
270 if (Str == "") { in ParseArgs()