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, +}