-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy path.clang-format
More file actions
34 lines (33 loc) · 972 Bytes
/
.clang-format
File metadata and controls
34 lines (33 loc) · 972 Bytes
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
# SPDX-FileCopyrightText: 2024 Tobias Schwarz <tobias.schwarz@tum.de>
#
# SPDX-License-Identifier: CC0-1.0
---
BasedOnStyle: LLVM
Language: Cpp
AlignArrayOfStructures: Right
#AlignConsecutiveAssignments:
# Enabled: true
# AcrossEmptyLines: false
# AcrossComments: true
# AlignCompound: true
# # AlignFunctionPointers: false
# PadOperators: true
#AlignConsecutiveBitFields: AcrossComments
#AlignConsecutiveDeclarations: AcrossComments
#AlignConsecutiveMacros: AcrossComments
#AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
AllowShortEnumsOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
IndentPPDirectives: BeforeHash
IndentWrappedFunctionNames: true
InsertBraces: true
InsertNewlineAtEOF: true
InsertTrailingCommas: Wrapped
KeepEmptyLinesAtTheStartOfBlocks: false
LineEnding: LF
MaxEmptyLinesToKeep: 2
PackConstructorInitializers: NextLine
SortUsingDeclarations: Lexicographic