*token = buffer[idx + 1];
if (buffer[idx + 1] == 0xA4) {
int32_t i = 2;
- for (; idx + i < len && i < 4 && buffer[idx + i] == buffer[idx + 1]; ++i);
+ for (; idx + i < len && i < 4 && buffer[idx + i] == buffer[idx + 1]; ++i)
+ ;
return i;
}
return 2;
break;
}
int32_t i = 1;
- for (; idx + i < len && i < max && buffer[idx + i] == buffer[idx]; ++i);
+ for (; idx + i < len && i < max && buffer[idx + i] == buffer[idx]; ++i)
+ ;
return i;
}
};
// Virtual destructors must be defined out of line.
-RelDateTimeFmtDataSink::~RelDateTimeFmtDataSink() {};
+RelDateTimeFmtDataSink::~RelDateTimeFmtDataSink() {}
} // namespace
DateFormatSymbols::DtWidthType styleToDateFormatSymbolWidth[UDAT_STYLE_COUNT] = {
* An undefined restriction level.
* @internal
*/
- USPOOF_UNDEFINED_RESTRICTIVE = -1,
+ USPOOF_UNDEFINED_RESTRICTIVE = -1
} URestrictionLevel;
/**
// f (decimal digits)
// skip over any leading 0's in fraction digits.
int32_t idx = -1;
- for (; idx >= -v && getDigitByExponent(idx) == 0; --idx);
+ for (; idx >= -v && getDigitByExponent(idx) == 0; --idx)
+ ;
// Only process up to first 18 non zero fraction digits for decimalDigits
// since that is all we can fit into an int64.