aboutsummaryrefslogtreecommitdiffhomepage
path: root/scaffold/cpp/.clang-format
blob: b80700c9fa57ac20bd4d06d966379192fd206079 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html

Language: Cpp
Standard: Latest
BasedOnStyle: LLVM

AccessModifierOffset: -4
AlignEscapedNewlines: DontAlign
AlignTrailingComments: false
AllowShortBlocksOnASingleLine: Never
AllowShortFunctionsOnASingleLine: None
AlwaysBreakTemplateDeclarations: Yes
BreakStringLiterals: false
ColumnLimit: 120
IndentWidth: 4
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 1
PointerAlignment: Left