summaryrefslogtreecommitdiffstats
path: root/.clang-format
blob: d09d739a52b00a2b35d25acf0224c9706db36841 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
---
BasedOnStyle: GNU
Standard: c++11
AlignConsecutiveDeclarations: false
AllowShortBlocksOnASingleLine: Always
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortLambdasOnASingleLine: All
AlwaysBreakAfterReturnType: All
BreakConstructorInitializers: BeforeColon
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 2
Cpp11BracedListStyle: true
IndentWidth: 2
AlignAfterOpenBracket: Align
BinPackArguments: false
BinPackParameters: false
BreakStringLiterals: false
PointerAlignment: Left
SortUsingDeclarations: false
SpaceAfterCStyleCast: true
SpaceBeforeParens: ControlStatements
TabWidth: 8
UseTab: Always
BreakBeforeBinaryOperators: NonAssignment
---