Commit 67efadaf authored by Patrik Huber's avatar Patrik Huber

Added .clang-format file

This is more or less the coding style that should be followed for new contributions.
I am happy if code differs from this style a bit if there is a valid reason for it.

It's a rough first version of this file, it may change a bit over time, if required.
parent 86a6df27
---
BasedOnStyle: LLVM
AccessModifierOffset: '-4'
AlwaysBreakTemplateDeclarations: 'true'
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
ColumnLimit: '110'
Cpp11BracedListStyle: 'true'
PointerAlignment: Left
IndentWidth: '4'
Language: Cpp
NamespaceIndentation: None
Standard: Cpp11
UseTab: Never
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
...
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment