.clang-format
3208 bytes
1AlignArrayOfStructures: None
2AlignAfterOpenBracket: BlockIndent
3AllowShortBlocksOnASingleLine: Always
4AllowShortCaseLabelsOnASingleLine: true
5AllowShortEnumsOnASingleLine: true
6AllowShortFunctionsOnASingleLine: All
7AllowShortIfStatementsOnASingleLine: AllIfsAndElse
8AllowShortLambdasOnASingleLine: All
9AllowShortLoopsOnASingleLine: true
10BinPackArguments: false
11BinPackParameters: false
12Cpp11BracedListStyle: true
13LambdaBodyIndentation: Signature
14UseCRLF: false
15UseTab: ForIndentation
16SpacesInSquareBrackets: false
17SpacesInParentheses: false
18SpacesInCStyleCastParentheses: false
19SpacesInAngles: Never
20SpaceInEmptyParentheses: false
21SpaceInEmptyBlock: false
22SpaceBeforeSquareBrackets: false
23SpaceBeforeRangeBasedForLoopColon: false
24SpaceAfterCStyleCast: true
25SpaceAfterLogicalNot: false
26SpaceAfterTemplateKeyword: true
27SpaceBeforeCaseColon: false
28SpaceBeforeCpp11BracedList: true
29SpaceBeforeCtorInitializerColon: false
30SpaceBeforeInheritanceColon: false
31SpaceBeforeParens: ControlStatementsExceptControlMacros
32SortIncludes: CaseSensitive
33PointerAlignment: Left
34PackConstructorInitializers: NextLine
35LineEnding: LF
36InsertBraces: false
37BreakConstructorInitializers: AfterColon
38BreakBeforeBraces: Custom
39BreakInheritanceList: AfterColon
40AllowAllParametersOfDeclarationOnNextLine: false
41AllowAllArgumentsOnNextLine: false
42AlwaysBreakTemplateDeclarations: Yes
43BraceWrapping:
44 AfterClass: false
45 AfterFunction: false
46 AfterCaseLabel: false
47 AfterEnum: false
48 AfterNamespace: false
49 AfterStruct: false
50 AfterUnion: false
51 AfterExternBlock: false
52 BeforeCatch: false
53 BeforeElse: false
54 BeforeLambdaBody: false
55 BeforeWhile: false
56 IndentBraces: false
57 SplitEmptyFunction: true
58 SplitEmptyRecord: false
59 SplitEmptyNamespace: false
60 AfterControlStatement: MultiLine
61BreakBeforeBinaryOperators: NonAssignment
62BreakBeforeTernaryOperators: true
63AlignOperands: AlignAfterOperator
64InsertTrailingCommas: Wrapped
65MaxEmptyLinesToKeep: 1
66ExperimentalAutoDetectBinPacking: false
67ColumnLimit: 100
68IndentWidth: 2
69TabWidth: 2
70AllowAllConstructorInitializersOnNextLine: false
71ConstructorInitializerAllOnOneLineOrOnePerLine: true
72NamespaceIndentation: None
73IncludeBlocks: Regroup
74IncludeCategories:
75 - Regex: '^<(cassert|cctype|cerrno|cfenv|cfloat|cinttypes|climits|clocale|cmath|csetjmp|csignal|cstdarg|cstdbool|cstddef|cstdint|cstdio|cstdlib|cstring|ctime|cuchar|cwchar|cwctype|algorithm|any|array|atomic|bitset|chrono|codecvt|complex|condition_variable|deque|exception|filesystem|forward_list|fstream|functional|future|initializer_list|iomanip|ios|iosfwd|iostream|istream|iterator|latch|limits|list|locale|map|memory|mutex|new|numeric|optional|ostream|queue|random|ratio|regex|scoped_allocator|set|shared_mutex|sstream|stack|stdexcept|streambuf|string|string_view|strstream|syncstream|system_error|thread|tuple|type_traits|typeindex|typeinfo|unordered_map|unordered_set|utility|valarray|variant|vector|version|assert.h|ctype.h|errno.h|fenv.h|float.h|inttypes.h|limits.h|locale.h|math.h|setjmp.h|signal.h|stdarg.h|stddef.h|stdint.h|stdio.h|stdlib.h|string.h|time.h|uchar.h|wchar.h|wctype.h)>$'
76 Priority: 0
77 - Regex: '^<.*>$'
78 Priority: 1
79 - Regex: '^".*"$'
80 Priority: 2
81 - Regex: '.+'
82 Priority: 3