-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
39 lines (35 loc) · 1.16 KB
/
Copy path.clang-format
File metadata and controls
39 lines (35 loc) · 1.16 KB
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
BasedOnStyle: LLVM
UseTab: Never
ColumnLimit: 110
PointerAlignment: Right
AllowShortIfStatementsOnASingleLine: true
# --- Настройки выравнивания и списков инициализации ---
AlignAfterOpenBracket: DontAlign
BinPackArguments: false
BinPackParameters: false
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
# --- Форматирование инициализаторов ---
Cpp11BracedListStyle: true
BreakBeforeBraces: Attach
BraceWrapping:
AfterEnum: false
AfterStruct: false
AfterFunction: false
AfterClass: false
SplitEmptyFunction: false
# --- Управление переносами строк ---
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Empty
AllowShortLambdasOnASingleLine: true
AllowShortLoopsOnASingleLine: true
BreakBeforeBinaryOperators: None
# --- Другие опции ---
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignConsecutiveMacros: false
AlignOperands: false
SpaceAfterCStyleCast: false
SpaceBeforeParens: ControlStatements