-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
42 lines (42 loc) · 1.28 KB
/
.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
37
38
39
40
41
42
---
# Copied from 'QueryRuntime' Repository.
# Originated by @Samuel Maynard
# ---
# Our C++ format is an adaption of Google's standards to the standards laid out
# in the "Standard Development and Coding Practices at MSRA" document which was
# compiled by the Advacned Technology department.
# There are many more format style options than are listed here. They can be
# found at https://clang.llvm.org/docs/ClangFormatStyleOptions.html
# When an option is not sepecified, it defaults to Google's style (this can be
# changed with the BasedOnStyle option)
Language: Cpp
BasedOnStyle: Google
AccessModifierOffset: -4
BinPackArguments: false
BinPackParameters: false
DerivePointerAlignment: false
FixNamespaceComments: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^"pch.h"'
Priority: -1
- Regex: '^"stdafx.h"'
Priority: -1
- Regex: '^<ext/.*\.h>'
Priority: 2
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*'
Priority: 2
- Regex: '.*'
Priority: 3
IndentWidth: 4
IndentCaseLabels: false
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
PointerAlignment: Right
SpaceAfterCStyleCast: true
SpacesInContainerLiterals: false
---
Language: Proto
BasedOnStyle: Google