-
-
Save aniketp/f907f6ca1c714a73804621ca59d8535d to your computer and use it in GitHub Desktop.
clang-format based on FreeBSD's style(9)
This file contains 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
BasedOnStyle: LLVM | |
IndentWidth: 8 | |
UseTab: Always | |
BreakBeforeBraces: Linux | |
AllowShortIfStatementsOnASingleLine: false | |
IndentCaseLabels: false | |
ColumnLimit: 0 | |
AlignTrailingComments: true | |
SpacesBeforeTrailingComments: 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For anyone stumbling across this via Google, the FreeBSD project now includes an actual
.clang-format
file here:https://github.com/freebsd/freebsd-src/blob/main/.clang-format