Created
October 28, 2018 17:09
-
-
Save lights0123/28b794efe6dbcc9648ab83fbe3839c5d to your computer and use it in GitHub Desktop.
.clang-format
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
AccessModifierOffset: -4 | |
AlignEscapedNewlinesLeft: true | |
AlignTrailingComments: true | |
AllowAllParametersOfDeclarationOnNextLine: false | |
AllowShortFunctionsOnASingleLine: false | |
AllowShortIfStatementsOnASingleLine: true | |
AllowShortLoopsOnASingleLine: false | |
AlwaysBreakBeforeMultilineStrings: false | |
AlwaysBreakTemplateDeclarations: false | |
BinPackParameters: false | |
BreakBeforeBinaryOperators: false | |
BreakBeforeBraces: Attach | |
BreakBeforeTernaryOperators: false | |
BreakConstructorInitializersBeforeComma: false | |
ColumnLimit: 100 | |
CommentPragmas: '' | |
ConstructorInitializerAllOnOneLineOrOnePerLine: false | |
ConstructorInitializerIndentWidth: 0 | |
ContinuationIndentWidth: 0 | |
Cpp11BracedListStyle: false | |
DerivePointerBinding: false | |
IndentCaseLabels: false | |
IndentFunctionDeclarationAfterType: false | |
IndentWidth: 4 | |
Language: Cpp | |
MaxEmptyLinesToKeep: 2 | |
NamespaceIndentation: None | |
ObjCSpaceAfterProperty: true | |
ObjCSpaceBeforeProtocolList: true | |
PenaltyBreakBeforeFirstCallParameter: 100 | |
PenaltyBreakComment: 100 | |
PenaltyBreakFirstLessLess: 0 | |
PenaltyBreakString: 100 | |
PenaltyExcessCharacter: 1 | |
PenaltyReturnTypeOnItsOwnLine: 20 | |
SpaceBeforeAssignmentOperators: true | |
SpaceBeforeParens: Never | |
SpaceInEmptyParentheses: false | |
SpacesBeforeTrailingComments: 1 | |
SpacesInAngles: false | |
SpacesInCStyleCastParentheses: false | |
SpacesInContainerLiterals: false | |
SpacesInParentheses: false | |
Standard: Cpp11 | |
TabWidth: 4 | |
UseTab: ForIndentation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment