Created
September 6, 2019 03:54
-
-
Save tyhenry/a1560e6213f4af57a52f62fce0233399 to your computer and use it in GitHub Desktop.
clang format for C++11 (vs2017)
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