From 0e820028c5fbde5629b52cd2ec432a5afd86e801 Mon Sep 17 00:00:00 2001 From: Simon Delamarre Date: Wed, 28 Dec 2022 22:26:06 +0100 Subject: [PATCH] MISC: copy .clang-format from scummvm/scummvm --- .clang-format | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000..4eba7ce6 --- /dev/null +++ b/.clang-format @@ -0,0 +1,23 @@ +{ + BasedOnStyle: LLVM, + UseTab: ForContinuationAndIndentation, + IndentWidth: 4, + TabWidth: 4, + BreakBeforeBraces: Attach, + IndentCaseLabels: false, + ColumnLimit: 0, + AccessModifierOffset: -4, + NamespaceIndentation: None, + SpaceBeforeParens: ControlStatements, + PointerAlignment: Right, + SpaceAfterCStyleCast: false, + SpaceAfterTemplateKeyword: false, + SpaceBeforeAssignmentOperators: true, + SpaceBeforeCtorInitializerColon: true, + SpaceBeforeInheritanceColon: true, + SpaceInEmptyParentheses: false, + SpacesInAngles: false, + SpacesInParentheses: false, + SpacesInSquareBrackets: false, + Standard: c++03, +}