-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[clang-format] Add BreakBinaryOperations configuration #95013
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
a50f3d4
Add BinPackBinaryOperations
ameerj 1fe691c
Add BinPackBinaryOperations unit tests
ameerj d95bf09
Update ClangFormatStyleOptions.rst
ameerj e9308d7
cleanup startsNextOperand
ameerj e58c8eb
Cleanup BinPackBinaryOperations test
ameerj 1de25f8
Add another test
ameerj 9c9e084
Fix mixed precedence formatting
ameerj 28ef1c7
Add pointer to member precedence sanity check
ameerj 6633757
fix formatting
ameerj 8d4ea2d
Merge remote-tracking branch 'upstream/main' into binpack-binary-ops
ameerj 8eee170
Update ReleaseNotes.rst
ameerj d4e94f0
Merge branch 'main' into binpack-binary-ops
ameerj daa3cf1
Review comments
ameerj 5520dc1
Review comments
ameerj 21bcfa5
missed a trailing newline
ameerj e1f1cf2
missed trailing newlines
ameerj 33a6ef9
Fixes for BreakBeforeBinaryOperators
ameerj 5b091ff
Rename BinPackBinaryOperations -> BreakBinaryOperations enum
ameerj 0665208
Fix typo in config parsing
ameerj 3aca776
Merge remote-tracking branch 'upstream/main' into binpack-binary-ops
ameerj e062cff
clang-format version 20
ameerj 66b866e
Review feedback
ameerj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -207,6 +207,8 @@ AST Matchers | |
clang-format | ||
------------ | ||
|
||
- Adds ``BreakBinaryOperations`` option. | ||
|
||
libclang | ||
-------- | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.