From 2cb3c3df4099297b0a0554bb482e2de04fe86b5c Mon Sep 17 00:00:00 2001 From: sanine Date: Wed, 24 Aug 2022 00:02:17 -0500 Subject: add command-line arguments --- libs/cargs/.clang-format | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 libs/cargs/.clang-format (limited to 'libs/cargs/.clang-format') diff --git a/libs/cargs/.clang-format b/libs/cargs/.clang-format new file mode 100644 index 0000000..eec6156 --- /dev/null +++ b/libs/cargs/.clang-format @@ -0,0 +1,38 @@ +--- +BasedOnStyle: LLVM +AlignAfterOpenBracket: DontAlign +BinPackArguments: true +BinPackParameters: true +BreakBeforeBraces: Custom +IndentWidth: 2 +ContinuationIndentWidth: 2 +AllowAllParametersOfDeclarationOnNextLine: false +AllowAllArgumentsOnNextLine: false +AllowShortBlocksOnASingleLine: 'Never' +AllowShortCaseLabelsOnASingleLine: false +AllowShortFunctionsOnASingleLine: 'None' +AllowShortIfStatementsOnASingleLine: 'false' +AllowShortLoopsOnASingleLine: false +PenaltyBreakAssignment: 10000 +PenaltyBreakBeforeFirstCallParameter: 100000 +IndentExternBlock: false +BraceWrapping: + AfterExternBlock: false + AfterCaseLabel: false + AfterClass: true + AfterControlStatement: Never + AfterEnum: true + AfterFunction: true + AfterNamespace: false + AfterObjCDeclaration: false + AfterStruct: true + AfterUnion: true + AfterExternBlock: true + BeforeCatch: false + BeforeElse: false + BeforeLambdaBody: false + BeforeWhile: false + IndentBraces: false + SplitEmptyFunction: true + SplitEmptyRecord: false + SplitEmptyNamespace: true -- cgit v1.2.1