mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
clang-format: no column length, no short blocks
This commit is contained in:
committed by
Thomas Krijnen
parent
1969828340
commit
17838f2426
+5
-4
@@ -1,11 +1,12 @@
|
|||||||
# We'll use defaults from the LLVM style, but with 4 columns indentation.
|
# We'll use defaults from the LLVM style with modifications
|
||||||
BasedOnStyle: LLVM
|
BasedOnStyle: LLVM
|
||||||
|
ColumnLimit: 0 # we do not enforce column lenght, please format responsibly
|
||||||
IndentWidth: 4
|
IndentWidth: 4
|
||||||
---
|
---
|
||||||
Language: Cpp
|
Language: Cpp
|
||||||
AllowShortBlocksOnASingleLine: Always
|
AllowShortBlocksOnASingleLine: Never
|
||||||
AllowShortEnumsOnASingleLine: false
|
AllowShortEnumsOnASingleLine: false
|
||||||
AllowShortIfStatementsOnASingleLine: OnlyFirstIf
|
AllowShortIfStatementsOnASingleLine: Never
|
||||||
AlwaysBreakTemplateDeclarations: Yes
|
AlwaysBreakTemplateDeclarations: Yes
|
||||||
BinPackArguments: false
|
BinPackArguments: false
|
||||||
BinPackParameters: false
|
BinPackParameters: false
|
||||||
@@ -14,9 +15,9 @@ BraceWrapping:
|
|||||||
SplitEmptyRecord: false
|
SplitEmptyRecord: false
|
||||||
SplitEmptyNamespace: false
|
SplitEmptyNamespace: false
|
||||||
IncludeBlocks: Regroup
|
IncludeBlocks: Regroup
|
||||||
|
InsertBraces: true
|
||||||
InsertNewlineAtEOF: true
|
InsertNewlineAtEOF: true
|
||||||
PackConstructorInitializers: CurrentLine
|
PackConstructorInitializers: CurrentLine
|
||||||
PenaltyReturnTypeOnItsOwnLine: 120
|
|
||||||
PointerAlignment: Left
|
PointerAlignment: Left
|
||||||
ReflowComments: false # keep licenze comment blocks
|
ReflowComments: false # keep licenze comment blocks
|
||||||
SortIncludes: CaseInsensitive
|
SortIncludes: CaseInsensitive
|
||||||
|
|||||||
Reference in New Issue
Block a user