File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -4687,6 +4687,7 @@ the configuration (without a prefix: ``Auto``).
46874687 b1 = 0b101101; // Not added.
46884688 b2 = 0b101'101; // Not removed.
46894689 b3 = 0b1'101'101; // Always added.
4690+ b4 = 0b10'1101; // Corrected to 0b101'101.
46904691
46914692 * ``int8_t Decimal `` Format separators in decimal literals.
46924693
@@ -4716,6 +4717,7 @@ the configuration (without a prefix: ``Auto``).
47164717 d1 = 123456; // Not added.
47174718 d2 = 123'456; // Not removed.
47184719 d3 = 5'000'000; // Always added.
4720+ d4 = 1'23'45; // Corrected to 12'345.
47194721
47204722 * ``int8_t Hex `` Format separators in hexadecimal literals.
47214723
@@ -4747,6 +4749,7 @@ the configuration (without a prefix: ``Auto``).
47474749 h1 = 0xABCDE; // Not added.
47484750 h2 = 0xA'BC'DE; // Not removed.
47494751 h3 = 0xAB'CD'EF; // Always added.
4752+ h4 = 0xABCD'E; // Corrected to 0xA'BC'DE.
47504753
47514754
47524755 .. _JavaImportGroups :
Original file line number Diff line number Diff line change @@ -609,6 +609,7 @@ clang-format
609609 literals.
610610- Add ``Leave `` suboption to ``IndentPPDirectives ``.
611611- Add ``AllowBreakBeforeQtProperty `` option.
612+ - Add ``(Binary|Decimal|Hex)MaxDigitsSeparator `` suboptions to ``IntegerLiteralSeparator ``.
612613
613614libclang
614615--------
Original file line number Diff line number Diff line change @@ -3206,6 +3206,7 @@ struct FormatStyle {
32063206 // / b1 = 0b101101; // Not added.
32073207 // / b2 = 0b101'101; // Not removed.
32083208 // / b3 = 0b1'101'101; // Always added.
3209+ // / b4 = 0b10'1101; // Corrected to 0b101'101.
32093210 // / \endcode
32103211 int8_t BinaryMaxDigitsNoSeparator;
32113212 // / Format separators in decimal literals.
@@ -3232,6 +3233,7 @@ struct FormatStyle {
32323233 // / d1 = 123456; // Not added.
32333234 // / d2 = 123'456; // Not removed.
32343235 // / d3 = 5'000'000; // Always added.
3236+ // / d4 = 1'23'45; // Corrected to 12'345.
32353237 // / \endcode
32363238 int8_t DecimalMaxDigitsNoSeparator;
32373239 // / Format separators in hexadecimal literals.
@@ -3260,6 +3262,7 @@ struct FormatStyle {
32603262 // / h1 = 0xABCDE; // Not added.
32613263 // / h2 = 0xA'BC'DE; // Not removed.
32623264 // / h3 = 0xAB'CD'EF; // Always added.
3265+ // / h4 = 0xABCD'E; // Corrected to 0xA'BC'DE.
32633266 // / \endcode
32643267 int8_t HexMaxDigitsNoSeparator;
32653268 bool operator ==(const IntegerLiteralSeparatorStyle &R) const {
You can’t perform that action at this time.
0 commit comments