aboutsummaryrefslogtreecommitdiff
path: root/ClangFormat/.clang-format
blob: a43fafa8a0e7b225afef9e6201fb5c2a6b194820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# .clang-format -*- mode: yaml; lexical-binding: t; -*-
BasedOnStyle: LLVM
IndentWidth: 2
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AllowShortLoopsOnASingleLine: true
AllowShortLambdasOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: Yes
BreakBeforeBraces: Custom
NamespaceIndentation: All
BraceWrapping:
  AfterEnum: true
  AfterStruct: true
  AfterFunction: true
  AfterNamespace: true
  AfterClass: true
  AfterUnion: true
  AfterControlStatement: true
  AfterExternBlock: true
  BeforeCatch: true
  BeforeElse: true
  IndentBraces: false
  SplitEmptyFunction: true