Skip to content

Add editorconfig and clang-format configuration files - #95

Merged
TamarChristinaArm merged 1 commit into
ARM-software:masterfrom
rockdreamer:editorconfig
Aug 3, 2026
Merged

Add editorconfig and clang-format configuration files#95
TamarChristinaArm merged 1 commit into
ARM-software:masterfrom
rockdreamer:editorconfig

Conversation

@rockdreamer

Copy link
Copy Markdown
Contributor

These files should make following the GNU and GNU libc guidelines on formatting easier.

Comment thread networking/.clang-format Outdated
These settings were defined in the relevant glibc options file but are not needed:
- AlwaysBreakAfterReturnType was deprecated and the default is correct
- BreakBeforeInheritanceComma: false was subsumed by BreakInheritanceList: BeforeColon
- DeriveLineEnding: true was deprecated and subsumed by LineEnding: DeriveLF
- KeepEmptyLinesAtTheStartOfBlocks: true was deprecated and subsumed by KeepEmptyLines: AtStartOfBlock: true
- IncludeDirectories is not needed as the glibc one has no categories for sorting
- SpaceInEmptyParentheses: false was deprecated and subsumed by SpacesInParensOptions: InEmptyParentheses: false
- SpacesInConditionalStatement: false was deprecated and subsumed by SpacesInParensOptions: InConditionalStatements: false
- SpacesInCStyleCastParentheses: false was deprecated and subsumed by SpacesInParensOptions: InCStyleCasts: false
- SpacesInParentheses: false was deprecated and is configured by multiple values under SpacesInParensOptions

@TamarChristinaArm TamarChristinaArm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM. We can tweak as we go.

@TamarChristinaArm
TamarChristinaArm merged commit 36584f3 into ARM-software:master Aug 3, 2026
8 checks passed
@rockdreamer
rockdreamer deleted the editorconfig branch August 3, 2026 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants