mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
clang-format: add style file
This commit is contained in:
committed by
Thomas Krijnen
parent
fa73de97b0
commit
1969828340
@@ -0,0 +1,25 @@
|
|||||||
|
# We'll use defaults from the LLVM style, but with 4 columns indentation.
|
||||||
|
BasedOnStyle: LLVM
|
||||||
|
IndentWidth: 4
|
||||||
|
---
|
||||||
|
Language: Cpp
|
||||||
|
AllowShortBlocksOnASingleLine: Always
|
||||||
|
AllowShortEnumsOnASingleLine: false
|
||||||
|
AllowShortIfStatementsOnASingleLine: OnlyFirstIf
|
||||||
|
AlwaysBreakTemplateDeclarations: Yes
|
||||||
|
BinPackArguments: false
|
||||||
|
BinPackParameters: false
|
||||||
|
BraceWrapping:
|
||||||
|
SplitEmptyFunction: false
|
||||||
|
SplitEmptyRecord: false
|
||||||
|
SplitEmptyNamespace: false
|
||||||
|
IncludeBlocks: Regroup
|
||||||
|
InsertNewlineAtEOF: true
|
||||||
|
PackConstructorInitializers: CurrentLine
|
||||||
|
PenaltyReturnTypeOnItsOwnLine: 120
|
||||||
|
PointerAlignment: Left
|
||||||
|
ReflowComments: false # keep licenze comment blocks
|
||||||
|
SortIncludes: CaseInsensitive
|
||||||
|
SpacesInLineCommentPrefix:
|
||||||
|
Maximum: 1
|
||||||
|
TabWidth: 4
|
||||||
Reference in New Issue
Block a user