Skip to content

Commit 9c684c8

Browse files
authored
Merge branch 'main' into BreakBeforeTemplateClose
2 parents 2973647 + b968fd9 commit 9c684c8

File tree

81 files changed

+3994
-2146
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+3994
-2146
lines changed

clang/docs/ClangFormatStyleOptions.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5238,6 +5238,11 @@ the configuration (without a prefix: ``Auto``).
52385238
**PenaltyBreakBeforeFirstCallParameter** (``Unsigned``) :versionbadge:`clang-format 3.7` :ref:`<PenaltyBreakBeforeFirstCallParameter>`
52395239
The penalty for breaking a function call after ``call(``.
52405240

5241+
.. _PenaltyBreakBeforeMemberAccess:
5242+
5243+
**PenaltyBreakBeforeMemberAccess** (``Unsigned``) :versionbadge:`clang-format 20` :ref:`<PenaltyBreakBeforeMemberAccess>`
5244+
The penalty for breaking before a member access operator (``.``, ``->``).
5245+
52415246
.. _PenaltyBreakComment:
52425247

52435248
**PenaltyBreakComment** (``Unsigned``) :versionbadge:`clang-format 3.7` :ref:`<PenaltyBreakComment>`

clang/docs/ReleaseNotes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,6 +1294,7 @@ clang-format
12941294
- Adds support for bash globstar in ``.clang-format-ignore``.
12951295
- Adds ``WrapNamespaceBodyWithEmptyLines`` option.
12961296
- Adds the ``IndentExportBlock`` option.
1297+
- Adds ``PenaltyBreakBeforeMemberAccess`` option.
12971298
- Adds ``BreakBeforeTemplateCloser`` option.
12981299

12991300
libclang

0 commit comments

Comments
 (0)