Files
firmware/.clang-format
Gergely Nagy 26b666203e Add a clang-format config file
This helps with formatting sources to be closer to the coding style
explained in CONTRIBUTING.md. It's not perfect, but provides a
reasonable base.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-12-13 14:50:14 +01:00

26 lines
585 B
YAML

---
Language: Cpp
BasedOnStyle: WebKit
AllowShortFunctionsOnASingleLine: false
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
BreakBeforeBraces: Custom
Cpp11BracedListStyle: true
PointerAlignment: Right
ReflowComments: false
SortIncludes: false
TabWidth: 4
...