-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
35 lines (25 loc) · 1.25 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
---
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 120
StatementMacros: ["mGET_INSTANCE_FUNCTION", "mFREE_INSTANCE_FUNCTION", "mPNMPI_REGISTRATIONPOINT_FUNCTION"]
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#breakbeforebraces
BreakBeforeBraces: Linux
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#alwaysbreaktemplatedeclarations
AlwaysBreakTemplateDeclarations: Yes
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#binpackarguments
BinPackArguments: false
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#binpackparameters
BinPackParameters: false
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#allowallargumentsonnextline
AllowAllArgumentsOnNextLine: false
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#allowallparametersofdeclarationonnextline
AllowAllParametersOfDeclarationOnNextLine: false
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#alignafteropenbracket
AlignAfterOpenBracket: AlwaysBreak
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#pointeralignment
PointerAlignment: Left
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#sortincludes
SortIncludes: Never
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#reflowcomments
ReflowComments: false