Created
November 26, 2019 01:41
-
-
Save tyhenry/335fab0f76f4b2f4f132f4d60a92225d to your computer and use it in GitHub Desktop.
clang-format file, c++
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: Google | |
AccessModifierOffset: '-4' | |
AlignAfterOpenBracket: Align | |
AlignConsecutiveAssignments: 'true' | |
AlignConsecutiveDeclarations: 'false' | |
AlignEscapedNewlines: Left | |
AlignTrailingComments: 'true' | |
AllowAllParametersOfDeclarationOnNextLine: 'true' | |
AllowShortBlocksOnASingleLine: 'true' | |
AllowShortCaseLabelsOnASingleLine: 'true' | |
AllowShortFunctionsOnASingleLine: Inline | |
AllowShortIfStatementsOnASingleLine: 'true' | |
AllowShortLoopsOnASingleLine: 'true' | |
AlwaysBreakAfterReturnType: None | |
AlwaysBreakBeforeMultilineStrings: 'true' | |
AlwaysBreakTemplateDeclarations: 'true' | |
BinPackArguments: 'true' | |
BinPackParameters: 'false' | |
BreakBeforeBraces: Mozilla | |
BreakConstructorInitializers: BeforeComma | |
ColumnLimit: '0' | |
CompactNamespaces: 'false' | |
Cpp11BracedListStyle: 'true' | |
IndentWidth: '4' | |
KeepEmptyLinesAtTheStartOfBlocks: 'true' | |
Language: Cpp | |
MaxEmptyLinesToKeep: '1' | |
NamespaceIndentation: Inner | |
SpacesInCStyleCastParentheses: 'true' | |
SpacesInParentheses: 'true' | |
SpacesInSquareBrackets: '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