X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=.clang-format;fp=.clang-format;h=578856415ab566163dfbabd5bf9049bcee640aaa;hp=b54f2e9efb560a07a59443077d9feb2b593bb8e2;hb=223ecd536161ba06dd1d0f39ccf911b082742b92;hpb=cfa71f2849ee3482ebe617931972657b6a69c930 diff --git a/.clang-format b/.clang-format index b54f2e9..5788564 100644 --- a/.clang-format +++ b/.clang-format @@ -1,3 +1,33 @@ +UseCRLF: false UseTab: Always +TabWidth: 4 IndentWidth: 4 -ColumnLimit: 90 +ColumnLimit: 95 +SortIncludes: Never +SpaceBeforeParens: Never +BreakBeforeBraces: Custom +BraceWrapping: + AfterFunction: true +AlignAfterOpenBracket: DontAlign +AlignConsecutiveAssignments: None +AlignConsecutiveMacros: AcrossEmptyLines +AlignEscapedNewlines: DontAlign +AlignOperands: DontAlign +AllowAllArgumentsOnNextLine: false +AllowAllParametersOfDeclarationOnNextLine: false +AllowShortEnumsOnASingleLine: true +AllowShortIfStatementsOnASingleLine: WithoutElse +AllowShortLoopsOnASingleLine: true +BinPackArguments: true +BinPackParameters: true +BreakBeforeBinaryOperators: NonAssignment +BreakStringLiterals: true +SpaceInEmptyParentheses: false +IndentCaseLabels: false +ReflowComments: true +PointerAlignment: Right +SpacesInCStyleCastParentheses: false +SpaceAfterCStyleCast: false +PenaltyBreakAssignment: 1000 +SpaceBeforeParens: Never +SpaceAfterLogicalNot: false