forked from KarthikTunga/impala
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
36 lines (36 loc) · 946 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
31
32
33
34
35
36
---
Language: Cpp
BasedOnStyle: Google
AlignAfterOpenBracket: DontAlign
AlignOperands: false
AlignTrailingComments: false
AllowShortFunctionsOnASingleLine: Inline
AlwaysBreakBeforeMultilineStrings: false
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeTernaryOperators: false
ColumnLimit: 90
ConstructorInitializerIndentWidth: 2
DerivePointerAlignment: false
IncludeCategories:
- Priority: 3
Regex: '^<.*/' # Like <boost/lexical_cast.hpp>
- Priority: 1
Regex: '^<.*\.' # Like <fcntl.h>
- Priority: 2
Regex: '^<' # Like <vector>
- Priority: 4
Regex: '^"' # Like "util/auth-util.h"
SpacesBeforeTrailingComments: 1
Standard: Cpp11
---
Language: Java
BasedOnStyle: Chromium
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AlwaysBreakBeforeMultilineStrings: true
BreakBeforeTernaryOperators: false
ColumnLimit: 90
ContinuationIndentWidth: 4
IndentWidth: 2
IndentWrappedFunctionNames: true
SortIncludes: true