Last active
May 19, 2018 08:20
-
-
Save allanbian1017/87f8588e6ae3a38d51ccfa739f3d405c to your computer and use it in GitHub Desktop.
clang format template
This file contains hidden or 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