mirror of
https://github.com/OpenEtherCATsociety/SOEM.git
synced 2026-02-05 08:20:08 +08:00
Add .clang-format
Change-Id: I48865eab483d0ed38d268c805d0007876971b924
This commit is contained in:
26
.clang-format
Normal file
26
.clang-format
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
Language: Cpp
|
||||
AllowShortIfStatementsOnASingleLine: WithoutElse
|
||||
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
|
||||
SortIncludes: false
|
||||
IndentWidth: 3
|
||||
UseTab: Never
|
||||
PointerAlignment: Right
|
||||
ColumnLimit: 0
|
||||
BreakBeforeBraces: Custom
|
||||
BraceWrapping:
|
||||
AfterCaseLabel: true
|
||||
AfterClass: true
|
||||
AfterControlStatement: true
|
||||
AfterEnum: true
|
||||
AfterFunction: true
|
||||
AfterNamespace: true
|
||||
AfterStruct: true
|
||||
AfterUnion: true
|
||||
BeforeCatch: true
|
||||
BeforeElse: true
|
||||
IndentBraces: false
|
||||
SplitEmptyFunction: true
|
||||
SplitEmptyRecord: true
|
||||
SplitEmptyNamespace: false
|
||||
AfterExternBlock: false
|
||||
Reference in New Issue
Block a user