reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
111 StringRef Spelling = StringRef(Args.getArgString(Index), ArgSize); 114 if (ArgSize != strlen(Args.getArgString(Index))) 116 return new Arg(*this, Spelling, Index++); 119 const char *Value = Args.getArgString(Index) + ArgSize; 120 return new Arg(*this, Spelling, Index++, Value); 124 const char *Str = Args.getArgString(Index) + ArgSize; 125 Arg *A = new Arg(*this, Spelling, Index++); 153 if (ArgSize != strlen(Args.getArgString(Index))) 156 Index += 2; 157 if (Index > Args.getNumInputArgStrings() || 158 Args.getArgString(Index - 1) == nullptr) 161 return new Arg(*this, Spelling, Index - 2, Args.getArgString(Index - 1)); 161 return new Arg(*this, Spelling, Index - 2, Args.getArgString(Index - 1)); 165 if (ArgSize != strlen(Args.getArgString(Index))) 168 Index += 1 + getNumArgs(); 169 if (Index > Args.getNumInputArgStrings()) 172 Arg *A = new Arg(*this, Spelling, Index - 1 - getNumArgs(), 173 Args.getArgString(Index - getNumArgs())); 175 A->getValues().push_back(Args.getArgString(Index - getNumArgs() + i)); 181 if (ArgSize != strlen(Args.getArgString(Index))) { 182 const char *Value = Args.getArgString(Index) + ArgSize; 183 return new Arg(*this, Spelling, Index++, Value); 187 Index += 2; 188 if (Index > Args.getNumInputArgStrings() || 189 Args.getArgString(Index - 1) == nullptr) 192 return new Arg(*this, Spelling, Index - 2, Args.getArgString(Index - 1)); 192 return new Arg(*this, Spelling, Index - 2, Args.getArgString(Index - 1)); 196 Index += 2; 197 if (Index > Args.getNumInputArgStrings() || 198 Args.getArgString(Index - 1) == nullptr) 201 return new Arg(*this, Spelling, Index - 2, 202 Args.getArgString(Index - 2) + ArgSize, 203 Args.getArgString(Index - 1)); 207 if (ArgSize != strlen(Args.getArgString(Index))) 209 Arg *A = new Arg(*this, Spelling, Index++); 210 while (Index < Args.getNumInputArgStrings() && 211 Args.getArgString(Index) != nullptr) 212 A->getValues().push_back(Args.getArgString(Index++)); 216 Arg *A = new Arg(*this, Spelling, Index); 217 if (ArgSize != strlen(Args.getArgString(Index))) { 219 A->getValues().push_back(Args.getArgString(Index) + ArgSize); 221 Index++; 222 while (Index < Args.getNumInputArgStrings() && 223 Args.getArgString(Index) != nullptr) 224 A->getValues().push_back(Args.getArgString(Index++));