diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000000000000000000000000000000000000..0109e4f878d2a4c02ffbd45b531e2c2f96ec96b0 --- /dev/null +++ b/.clang-format @@ -0,0 +1,37 @@ +--- +BasedOnStyle: LLVM +AccessModifierOffset: '-1' +AlignConsecutiveAssignments: 'false' +AlignEscapedNewlines: Left +AlignOperands: 'true' +AlignTrailingComments: 'true' +AllowAllParametersOfDeclarationOnNextLine: 'false' +AllowShortIfStatementsOnASingleLine: 'false' +AllowShortLoopsOnASingleLine: 'true' +AlwaysBreakAfterDefinitionReturnType: All +AlwaysBreakAfterReturnType: All +AlwaysBreakTemplateDeclarations: 'Yes' +BinPackArguments: 'false' +BinPackParameters: 'false' +BreakBeforeBinaryOperators: None +BreakBeforeBraces: Mozilla +ColumnLimit: '100' +ConstructorInitializerAllOnOneLineOrOnePerLine: 'true' +Cpp11BracedListStyle: 'true' +FixNamespaceComments: 'true' +IndentWidth: '2' +PointerAlignment: Left +ReflowComments: 'true' +SortIncludes: 'true' +SortUsingDeclarations: 'true' +SpaceAfterTemplateKeyword: 'true' +SpaceBeforeAssignmentOperators: 'true' +SpaceBeforeCpp11BracedList: 'false' +SpaceBeforeInheritanceColon: 'true' +SpaceBeforeParens: ControlStatements +SpaceBeforeRangeBasedForLoopColon: 'true' +SpacesInParentheses: 'false' +SpacesInSquareBrackets: 'false' +Standard: Auto + +... diff --git a/packages/.clang-format b/packages/.clang-format new file mode 100644 index 0000000000000000000000000000000000000000..7b69119bba2cbcd4ae1e29947625b8c51b74040c --- /dev/null +++ b/packages/.clang-format @@ -0,0 +1,6 @@ +--- +Language: Cpp +DisableFormat: true +SortIncludes: false +--- +