Home
last modified time | relevance | path

Searched refs:DigitsPerGroup (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DIntegerLiteralSeparatorFixer.cpp140 auto DigitsPerGroup = Decimal; in process() local
143 DigitsPerGroup = Binary; in process()
146 DigitsPerGroup = Hex; in process()
151 const bool RemoveSeparator = DigitsPerGroup < 0 || DigitCount < MinDigits; in process()
155 checkSeparator(Text, DigitsPerGroup)) { in process()
159 format(Text, DigitsPerGroup, DigitCount, RemoveSeparator); in process()
171 const StringRef IntegerLiteral, int DigitsPerGroup) const { in checkSeparator()
172 assert(DigitsPerGroup > 0); in checkSeparator()
177 if (I < DigitsPerGroup) in checkSeparator()
181 if (I == DigitsPerGroup) in checkSeparator()
[all …]
H A DIntegerLiteralSeparatorFixer.h29 bool checkSeparator(const StringRef IntegerLiteral, int DigitsPerGroup) const;
30 std::string format(const StringRef IntegerLiteral, int DigitsPerGroup,