all repos — mgba @ 0.7

mGBA Game Boy Advance Emulator

.clang-format (view raw)

 1Language: Cpp
 2BasedOnStyle: WebKit
 3AccessModifierOffset: -4
 4AlignAfterOpenBracket: true
 5AlignEscapedNewlinesLeft: true
 6AlignOperands: false
 7AlignTrailingComments: false
 8AllowShortBlocksOnASingleLine: false
 9AllowShortCaseLabelsOnASingleLine: false
10AllowShortFunctionsOnASingleLine: Inline
11AllowShortIfStatementsOnASingleLine: false
12AllowShortLoopsOnASingleLine: false
13AlwaysBreakTemplateDeclarations: true
14BreakBeforeBinaryOperators: None
15BreakBeforeBraces: Attach
16BreakBeforeTernaryOperators: false
17BreakConstructorInitializersBeforeComma: true
18ColumnLimit: 120
19ConstructorInitializerIndentWidth: 4
20IndentCaseLabels: false
21IndentWidth: 4
22KeepEmptyLinesAtTheStartOfBlocks: false
23MaxEmptyLinesToKeep: 1
24NamespaceIndentation: None
25PointerAlignment: Left
26SpaceAfterCStyleCast: true
27SpaceBeforeAssignmentOperators: true
28SpaceBeforeParens: ControlStatements
29SpacesInContainerLiterals: true
30SpaceInEmptyParentheses: false
31SpacesInAngles: false
32Standard: Cpp11
33TabWidth: 4
34UseTab: ForIndentation