forked from aws/aws-encryption-sdk-c
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
30 lines (30 loc) · 837 Bytes
/
.clang-format
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
28
29
30
---
BasedOnStyle: Google
IndentWidth: 4
ColumnLimit: 120
UseTab: Never
#BreakBeforeBraces: Allman
---
Language: Cpp
PointerAlignment: Right
DerivePointerAlignment: false
# Function arguments should either be on one line, or should be each on their own line
BinPackParameters: false
BinPackArguments: false
# Indent nested preprocessor directives
IndentPPDirectives: AfterHash
# Short conditionals are allowed:
# case xyz: blah; break;
# if (foo) return;
# while (blah) {}
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
# We'll allow empty functions to be on a single line
# void noop() {}
AllowShortFunctionsOnASingleLine: Empty
Cpp11BracedListStyle: false
AlignConsecutiveAssignments: true
AlignAfterOpenBracket: AlwaysBreak
---