style: Set ColumnLimit to 120 in clang-format - #6288
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the clang-format configuration to increase the ColumnLimit from 80 to 120 characters, and applies this formatting change across the entire codebase. This allows longer lines of code to remain on a single line rather than being broken across multiple lines.
Changes:
- Updated
.clang-formatto setColumnLimit: 120 - Reformatted all affected source and header files to comply with the new 120-character line limit
Reviewed changes
Copilot reviewed 245 out of 1016 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .clang-format | Updated ColumnLimit from 80 to 120 |
| src/libxrpl/ledger/*.cpp | Consolidated multi-line function signatures and statements to single lines where appropriate |
| src/libxrpl/json/*.cpp | Reformatted to fit within 120 character limit |
| src/libxrpl/crypto/*.cpp | Consolidated function calls to single lines |
| src/libxrpl/core/detail/*.cpp | Reformatted constructor initializer lists and function signatures |
| src/libxrpl/beast/**/*.cpp | Applied 120 character formatting throughout beast library sources |
| src/libxrpl/basics/*.cpp | Consolidated multi-line expressions and function calls |
| include/xrpl/**/*.h | Reformatted header files to comply with new line limit |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
bthomee
left a comment
There was a problem hiding this comment.
Once merged we probably should add the commit hash to .git-blame-ignore-revs.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #6288 +/- ##
=========================================
+ Coverage 79.4% 79.9% +0.5%
=========================================
Files 839 839
Lines 71625 65528 -6097
Branches 8236 7268 -968
=========================================
- Hits 56854 52331 -4523
+ Misses 14771 13197 -1574
🚀 New features to boost your workflow:
|
This change updates the ColumnLimit from 80 to 120, and applies clang-format to reformat the code.
High Level Overview of Change
This only changes 80 -> 120 for ColumnLimit and reruns clang-format, no manual changes were done.
Context of Change
Type of Change
.gitignore, formatting, dropping support for older tooling)API Impact
libxrplchange (any change that may affectlibxrplor dependents oflibxrpl)