Home
last modified time | relevance | path

Searched refs:MinDigits (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DNativeFormatting.cpp56 static void write_unsigned_impl(raw_ostream &S, T N, size_t MinDigits, in write_unsigned_impl() argument
66 if (Len < MinDigits && Style != IntegerStyle::Number) { in write_unsigned_impl()
67 for (size_t I = Len; I < MinDigits; ++I) in write_unsigned_impl()
79 static void write_unsigned(raw_ostream &S, T N, size_t MinDigits, in write_unsigned() argument
83 write_unsigned_impl(S, static_cast<uint32_t>(N), MinDigits, Style, in write_unsigned()
86 write_unsigned_impl(S, N, MinDigits, Style, IsNegative); in write_unsigned()
90 static void write_signed(raw_ostream &S, T N, size_t MinDigits, in write_signed() argument
97 write_unsigned(S, static_cast<UnsignedT>(N), MinDigits, Style); in write_signed()
102 write_unsigned(S, UN, MinDigits, Style, true); in write_signed()
105 void llvm::write_integer(raw_ostream &S, unsigned int N, size_t MinDigits, in write_integer() argument
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DNativeFormatting.h28 void write_integer(raw_ostream &S, unsigned int N, size_t MinDigits,
30 void write_integer(raw_ostream &S, int N, size_t MinDigits, IntegerStyle Style);
31 void write_integer(raw_ostream &S, unsigned long N, size_t MinDigits,
33 void write_integer(raw_ostream &S, long N, size_t MinDigits,
35 void write_integer(raw_ostream &S, unsigned long long N, size_t MinDigits,
37 void write_integer(raw_ostream &S, long long N, size_t MinDigits,
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DIntegerLiteralSeparatorFixer.cpp138 auto MinDigits = DecimalMinDigits; in process() local
141 MinDigits = BinaryMinDigits; in process()
144 MinDigits = HexMinDigits; in process()
148 const bool RemoveSeparator = DigitsPerGroup < 0 || DigitCount < MinDigits; in process()