Files
SOEM/.clang-format
Hans-Erik Floryd c5987aead6 Add .clang-format
Change-Id: I48865eab483d0ed38d268c805d0007876971b924
2025-07-09 17:20:48 +02:00

27 lines
590 B
YAML

---
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