Skip to content

Commit f926bcf

Browse files
committed
[clang-format][doc] Fix the description of BreakBinaryOperations
1 parent 5454ac2 commit f926bcf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

clang/docs/ClangFormatStyleOptions.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3441,7 +3441,7 @@ the configuration (without a prefix: ``Auto``).
34413441
.. _BreakBinaryOperations:
34423442

34433443
**BreakBinaryOperations** (``BreakBinaryOperationsStyle``) :versionbadge:`clang-format 20` :ref:`<BreakBinaryOperations>`
3444-
The break constructor initializers style to use.
3444+
The break binary operations style to use.
34453445

34463446
Possible values:
34473447

@@ -3764,6 +3764,7 @@ the configuration (without a prefix: ``Auto``).
37643764
lists.
37653765

37663766
Important differences:
3767+
37673768
* No spaces inside the braced list.
37683769
* No line break before the closing brace.
37693770
* Indentation with the continuation indent, not with the block indent.

clang/include/clang/Format/Format.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2298,7 +2298,7 @@ struct FormatStyle {
22982298
BBO_RespectPrecedence
22992299
};
23002300

2301-
/// The break constructor initializers style to use.
2301+
/// The break binary operations style to use.
23022302
/// \version 20
23032303
BreakBinaryOperationsStyle BreakBinaryOperations;
23042304

@@ -2510,6 +2510,7 @@ struct FormatStyle {
25102510
/// lists.
25112511
///
25122512
/// Important differences:
2513+
///
25132514
/// * No spaces inside the braced list.
25142515
/// * No line break before the closing brace.
25152516
/// * Indentation with the continuation indent, not with the block indent.

0 commit comments

Comments
 (0)