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.cpp137 auto DigitsPerGroup = Decimal; in process() local
140 DigitsPerGroup = Binary; in process()
143 DigitsPerGroup = Hex; in process()
148 const bool RemoveSeparator = DigitsPerGroup < 0 || DigitCount < MinDigits; in process()
152 checkSeparator(Text, DigitsPerGroup)) { in process()
156 format(Text, DigitsPerGroup, DigitCount, RemoveSeparator); in process()
168 const StringRef IntegerLiteral, int DigitsPerGroup) const { in checkSeparator()
169 assert(DigitsPerGroup > 0); in checkSeparator()
174 if (I < DigitsPerGroup) in checkSeparator()
178 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,