scummvm/.clang-format
Michał Janiszewski fb2a740dc7 JANITORIAL: Use C++03 standard in clang-format rules
This mostly addresses the problem of ending double templates with `> >`
instead of `>>`, a feature only enabled in newer C++ standards.
2020-07-15 15:30:55 +02:00

24 lines
653 B
YAML

{
BasedOnStyle: LLVM,
UseTab: ForIndentation,
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,
}