reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
142 IS = IntegerStyle::Number;
lib/Support/NativeFormatting.cpp64 if (Len < MinDigits && Style != IntegerStyle::Number) { 69 if (Style == IntegerStyle::Number) {unittests/Support/NativeFormatTests.cpp
61 EXPECT_EQ("0", format_number(0, IntegerStyle::Number)); 62 EXPECT_EQ("2,425", format_number(2425, IntegerStyle::Number)); 63 EXPECT_EQ("-2,425", format_number(-2425, IntegerStyle::Number)); 65 format_number(257257257235709LL, IntegerStyle::Number)); 67 format_number(-257257257235709LL, IntegerStyle::Number)); 164 EXPECT_EQ("0", format_number(0, IntegerStyle::Number)); 165 EXPECT_EQ("10", format_number(10, IntegerStyle::Number)); 166 EXPECT_EQ("100", format_number(100, IntegerStyle::Number)); 167 EXPECT_EQ("1,000", format_number(1000, IntegerStyle::Number)); 168 EXPECT_EQ("1,234,567,890", format_number(1234567890, IntegerStyle::Number)); 170 EXPECT_EQ("-10", format_number(-10, IntegerStyle::Number)); 171 EXPECT_EQ("-100", format_number(-100, IntegerStyle::Number)); 172 EXPECT_EQ("-1,000", format_number(-1000, IntegerStyle::Number)); 173 EXPECT_EQ("-1,234,567,890", format_number(-1234567890, IntegerStyle::Number));