Created
July 17, 2017 18:37
-
-
Save qlyoung/242ba15238ba417cb7721c45a3201497 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
Probably doesn't know about it