• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# clang-format configuration file. For more information, see:
2#   https://clang.llvm.org/docs/ClangFormatStyleOptions.html
3#
4---
5Language: Cpp
6AccessModifierOffset: -4
7AlignAfterOpenBracket: Align
8BracedInitializerIndentWidth: 4
9AlignArrayOfStructures: None
10AlignConsecutiveAssignments: false
11AlignConsecutiveDeclarations: false
12AlignEscapedNewlines: Left
13AlignOperands: true
14AlignTrailingComments: false
15AlignConsecutiveMacros: true
16AllowAllParametersOfDeclarationOnNextLine: false
17AllowShortBlocksOnASingleLine: false
18AllowShortCaseLabelsOnASingleLine: false
19AllowShortFunctionsOnASingleLine: None
20AllowShortIfStatementsOnASingleLine: false
21AllowShortLoopsOnASingleLine: false
22AlwaysBreakAfterDefinitionReturnType: None
23AlwaysBreakAfterReturnType: None
24AlwaysBreakBeforeMultilineStrings: false
25AlwaysBreakTemplateDeclarations: false
26BinPackArguments: true
27BinPackParameters: true
28BraceWrapping:
29  AfterClass: false
30  AfterControlStatement: false
31  AfterEnum: false
32  AfterFunction: true
33  AfterNamespace: true
34  AfterObjCDeclaration: false
35  AfterStruct: false
36  AfterUnion: false
37  #AfterExternBlock: false
38  BeforeCatch: false
39  BeforeElse: false
40  IndentBraces: false
41BreakBeforeBinaryOperators: None
42BreakBeforeBraces: Custom
43BreakBeforeInheritanceComma: false
44BreakBeforeTernaryOperators: false
45BreakConstructorInitializersBeforeComma: false
46BreakConstructorInitializers: BeforeComma
47BreakAfterJavaFieldAnnotations: false
48BreakStringLiterals: false
49ColumnLimit: 120
50ConstructorInitializerAllOnOneLineOrOnePerLine: false
51ConstructorInitializerIndentWidth: 4
52ContinuationIndentWidth: 4
53Cpp11BracedListStyle: true
54DerivePointerAlignment: false
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57InsertBraces: true
58IncludeBlocks: Preserve
59IncludeCategories:
60  - Regex: '.*'
61    Priority: 1
62IncludeIsMainRegex: '(Test)?$'
63IndentCaseLabels: true
64IndentGotoLabels: false
65IndentPPDirectives: None
66IndentWidth: 4
67IndentWrappedFunctionNames: false
68JavaScriptQuotes: Leave
69JavaScriptWrapImports: true
70KeepEmptyLinesAtTheStartOfBlocks: false
71MacroBlockBegin: ''
72MacroBlockEnd: ''
73MaxEmptyLinesToKeep: 1
74NamespaceIndentation: None
75ObjCBinPackProtocolList: Auto
76ObjCBlockIndentWidth: 4
77ObjCSpaceAfterProperty: true
78ObjCSpaceBeforeProtocolList: true
79PointerAlignment: Right
80ReflowComments: false
81SortIncludes: false
82SortUsingDeclarations: false
83SpaceAfterCStyleCast: false
84SpaceAfterTemplateKeyword: true
85SpaceBeforeAssignmentOperators: true
86SpaceBeforeParens: ControlStatementsExceptForEachMacros
87SpaceInEmptyParentheses: false
88SpacesBeforeTrailingComments: 1
89SpacesInAngles: false
90SpacesInContainerLiterals: false
91SpacesInCStyleCastParentheses: false
92SpacesInParentheses: false
93SpacesInSquareBrackets: false
94Standard: Cpp03
95TabWidth: 4
96UseTab: Never
97...
98