|
|
@@ -0,0 +1,84 @@
|
|
|
+# .clang-format
|
|
|
+Language: Cpp
|
|
|
+AccessModifierOffset: -2
|
|
|
+AlignAfterOpenBracket: Align
|
|
|
+AlignConsecutiveAssignments: false
|
|
|
+AlignConsecutiveDeclarations: false
|
|
|
+AlignConsecutiveMacros:
|
|
|
+ Enabled: true
|
|
|
+ AcrossEmptyLines: true
|
|
|
+ AcrossComments: true
|
|
|
+AlignOperands: true
|
|
|
+AlignTrailingComments: true
|
|
|
+AllowAllParametersOfDeclarationOnNextLine: false
|
|
|
+AllowShortBlocksOnASingleLine: false
|
|
|
+AllowShortCaseLabelsOnASingleLine: false
|
|
|
+AllowShortFunctionsOnASingleLine: Inline
|
|
|
+AllowShortIfStatementsOnASingleLine: false
|
|
|
+AllowShortLoopsOnASingleLine: false
|
|
|
+AlwaysBreakAfterDefinitionReturnType: None
|
|
|
+AlwaysBreakAfterReturnType: None
|
|
|
+AlwaysBreakBeforeMultilineStrings: false
|
|
|
+AlwaysBreakTemplateDeclarations: No
|
|
|
+BinPackArguments: true
|
|
|
+BinPackParameters: true
|
|
|
+BraceWrapping:
|
|
|
+ AfterClass: false
|
|
|
+ AfterControlStatement: false
|
|
|
+ AfterEnum: false
|
|
|
+ AfterFunction: false
|
|
|
+ AfterNamespace: false
|
|
|
+ AfterObjCDeclaration: false
|
|
|
+ AfterStruct: false
|
|
|
+ AfterUnion: false
|
|
|
+ BeforeCatch: true
|
|
|
+ BeforeElse: true
|
|
|
+ IndentBraces: false
|
|
|
+BreakBeforeBinaryOperators: None
|
|
|
+BreakBeforeBraces: Stroustrup
|
|
|
+BreakBeforeTernaryOperators: true
|
|
|
+BreakConstructorInitializersBeforeComma: false
|
|
|
+ColumnLimit: 110
|
|
|
+CommentPragmas: '^ IWYU pragma:'
|
|
|
+CompactNamespaces: false
|
|
|
+ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
|
+Cpp11BracedListStyle: false
|
|
|
+DerivePointerAlignment: false
|
|
|
+DisableFormat: false
|
|
|
+IncludeBlocks: Regroup
|
|
|
+IndentCaseLabels: false
|
|
|
+IndentPPDirectives: None
|
|
|
+IndentWidth: 2
|
|
|
+IndentWrappedFunctionNames: false
|
|
|
+KeepEmptyLinesAtTheStartOfBlocks: true
|
|
|
+MacroBlockBegin: ''
|
|
|
+MacroBlockEnd: ''
|
|
|
+MaxEmptyLinesToKeep: 1
|
|
|
+NamespaceIndentation: None
|
|
|
+ObjCBinPackProtocolList: Auto
|
|
|
+PenaltyBreakBeforeFirstCallParameter: 19
|
|
|
+PenaltyBreakComment: 300
|
|
|
+PenaltyBreakFirstLessLess: 120
|
|
|
+PenaltyBreakString: 1000
|
|
|
+PenaltyExcessCharacter: 100000
|
|
|
+PenaltyReturnTypeOnItsOwnLine: 60
|
|
|
+PointerAlignment: Right
|
|
|
+ReflowComments: true
|
|
|
+SortIncludes: true
|
|
|
+SpaceAfterCStyleCast: false
|
|
|
+SpaceAfterTemplateKeyword: true
|
|
|
+SpaceBeforeAssignmentOperators: true
|
|
|
+SpaceBeforeCtorInitializerColon: true
|
|
|
+SpaceBeforeInheritanceColon: true
|
|
|
+SpaceBeforeParens: ControlStatements
|
|
|
+SpaceInEmptyParentheses: false
|
|
|
+SpacesBeforeTrailingComments: 1
|
|
|
+SpacesInAngles: false
|
|
|
+SpacesInContainerLiterals: false
|
|
|
+SpacesInCStyleCastParentheses: false
|
|
|
+SpacesInParentheses: false
|
|
|
+SpacesInSquareBrackets: false
|
|
|
+Standard: Auto
|
|
|
+TabWidth: 2
|
|
|
+UseTab: Never
|
|
|
+AlignEscapedNewlines: LeftWithLastLine
|