Created
February 16, 2021 08:42
-
-
Save angelfor3v3r/6a0698e740011ff4d7dbe867555f3dcb to your computer and use it in GitHub Desktop.
clang-format/clang-tidy
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 | |
IndentWidth: 4 | |
--- | |
Language: Cpp | |
AlignAfterOpenBracket: Align | |
AlignConsecutiveMacros: 'true' | |
AlignConsecutiveAssignments: 'true' | |
AlignConsecutiveDeclarations: 'true' | |
AlignEscapedNewlines: Left | |
AlignOperands: 'true' | |
AlignTrailingComments: 'true' | |
AllowAllArgumentsOnNextLine: 'true' | |
AllowAllConstructorInitializersOnNextLine: 'true' | |
AllowAllParametersOfDeclarationOnNextLine: 'true' | |
AllowShortBlocksOnASingleLine: 'false' | |
AllowShortCaseLabelsOnASingleLine: 'false' | |
AllowShortFunctionsOnASingleLine: Empty | |
AllowShortIfStatementsOnASingleLine: Never | |
AllowShortLambdasOnASingleLine: Empty | |
AllowShortLoopsOnASingleLine: 'false' | |
AlwaysBreakAfterReturnType: None | |
AlwaysBreakBeforeMultilineStrings: 'false' | |
AlwaysBreakTemplateDeclarations: 'Yes' | |
BinPackArguments: 'false' | |
BinPackParameters: 'false' | |
BreakBeforeBraces: Allman | |
BreakBeforeTernaryOperators: 'true' | |
BreakConstructorInitializers: AfterColon | |
BreakInheritanceList: AfterColon | |
CompactNamespaces: 'false' | |
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true' | |
Cpp11BracedListStyle: 'false' | |
FixNamespaceComments: 'true' | |
IndentCaseLabels: 'false' | |
IndentPPDirectives: None | |
IndentWidth: '4' | |
Language: Cpp | |
NamespaceIndentation: None | |
PointerAlignment: Right | |
ReflowComments: 'true' | |
SortIncludes: 'true' | |
SortUsingDeclarations: 'true' | |
SpaceAfterCStyleCast: 'false' | |
SpaceAfterLogicalNot: 'false' | |
SpaceAfterTemplateKeyword: 'false' | |
SpaceBeforeAssignmentOperators: 'true' | |
SpaceBeforeCpp11BracedList: 'false' | |
SpaceBeforeCtorInitializerColon: 'true' | |
SpaceBeforeInheritanceColon: 'true' | |
SpaceBeforeParens: Never | |
SpaceBeforeRangeBasedForLoopColon: 'false' | |
SpaceInEmptyParentheses: 'false' | |
SpacesBeforeTrailingComments: '1' | |
SpacesInAngles: 'true' | |
SpacesInCStyleCastParentheses: 'false' | |
SpacesInContainerLiterals: 'true' | |
SpacesInParentheses: 'true' | |
SpacesInSquareBrackets: 'true' | |
UseTab: Never | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment