-
-
Save cengiz-io/c59ae32009a5b160d571ea5f2317aaa2 to your computer and use it in GitHub Desktop.
Linux kernel style .clang-format
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 | |
Language: Cpp | |
IndentWidth: 8 | |
UseTab: Always | |
BreakBeforeBraces: Linux | |
AlwaysBreakBeforeMultilineStrings: true | |
AllowShortIfStatementsOnASingleLine: false | |
AllowShortLoopsOnASingleLine: false | |
AllowShortFunctionsOnASingleLine: false | |
IndentCaseLabels: false | |
AlignEscapedNewlinesLeft: false | |
AlignTrailingComments: true | |
AllowAllParametersOfDeclarationOnNextLine: false | |
AlignAfterOpenBracket: true | |
SpaceAfterCStyleCast: false | |
MaxEmptyLinesToKeep: 2 | |
BreakBeforeBinaryOperators: NonAssignment | |
BreakStringLiterals: false | |
SortIncludes: false | |
ContinuationIndentWidth: 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment