mirror of https://github.com/jarro2783/cxxopts.git
Fixes #341. Add a clang-format file
This commit is contained in:
parent
fbd79df66b
commit
30d97369f2
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
Language: Cpp
|
||||
BasedOnStyle: LLVM
|
||||
AccessModifierOffset: 0
|
||||
AlignConsecutiveAssignments: true
|
||||
AlwaysBreakAfterReturnType: TopLevel
|
||||
BreakBeforeBraces: Custom
|
||||
BraceWrapping:
|
||||
AfterEnum: true
|
||||
AfterClass: true
|
||||
AfterStruct: true
|
||||
AfterFunction: true
|
||||
AfterNamespace: true
|
||||
AfterControlStatement: Always
|
||||
BeforeElse: true
|
||||
ConstructorInitializerIndentWidth: 2
|
||||
ContinuationIndentWidth: 2
|
||||
PenaltyReturnTypeOnItsOwnLine: 200
|
||||
PointerAlignment: Left
|
||||
Loading…
Reference in New Issue