reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/AST/PrintfFormatString.cpp
   84   UpdateOnReturn <const char*> UpdateBeg(Beg, I);
   87   for ( ; I != E ; ++I) {
   87   for ( ; I != E ; ++I) {
   88     char c = *I;
   91       H.HandleNullChar(I);
   95       Start = I++;  // Record the start of the format specifier.
  104   if (I == E) {
  112   if (ParseArgPosition(H, FS, Start, I, E))
  115   if (I == E) {
  122   if (*I == '{') {
  123     ++I;
  128       StringRef Str(I, E - I);
  128       StringRef Str(I, E - I);
  137         I += Matches[0].size();
  167         I += CommaOrBracePos + 1;
  170     } while (*(I - 1) == ',');
  192   for ( ; I != E; ++I) {
  192   for ( ; I != E; ++I) {
  193     switch (*I) {
  197         FS.setHasThousandsGrouping(I);
  199       case '-': FS.setIsLeftJustified(I); break;
  200       case '+': FS.setHasPlusPrefix(I); break;
  201       case ' ': FS.setHasSpacePrefix(I); break;
  202       case '#': FS.setHasAlternativeForm(I); break;
  203       case '0': FS.setHasLeadingZeros(I); break;
  209   if (I == E) {
  217   if (ParseFieldWidth(H, FS, Start, I, E,
  221   if (I == E) {
  229   if (*I == '.') {
  230     ++I;
  231     if (I == E) {
  237     if (ParsePrecision(H, FS, Start, I, E,
  241     if (I == E) {
  249   if (ParseVectorModifier(H, FS, I, E, LO))
  253   if (ParseLengthModifier(FS, I, E, LO) && I == E) {
  253   if (ParseLengthModifier(FS, I, E, LO) && I == E) {
  268   if (*I == '[') {
  269     ObjCModifierFlagsStart = I;
  270     ++I;
  271     auto flagStart = I;
  272     for (;; ++I) {
  273       ObjCModifierFlagsEnd = I;
  274       if (I == E) {
  280       if (*I == ']') {
  281         if (ParseObjCFlags(H, FS, flagStart, I, Warn))
  283         ++I;
  292   if (*I == '\0') {
  294     H.HandleNullChar(I);
  299   const char *conversionPosition = I++;
  395     unsigned Len = I - Start;