3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-25 13:53:40 +01:00

add clang-format file ...

This commit is contained in:
Olivier Parcollet 2013-10-01 21:35:19 +02:00 committed by Michel Ferrero
parent 588dd6e50a
commit 25cb68e253

32
.clang-format Normal file
View File

@ -0,0 +1,32 @@
BasedOnStyle: LLVM
AccessModifierOffset: 0
AlignEscapedNewlinesLeft: false
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: false
BinPackParameters: true
BreakBeforeBinaryOperators: false
BreakBeforeBraces: Attach
ColumnLimit: 130
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 3
Cpp11BracedListStyle: true
DerivePointerBinding : true
IndentCaseLabels: true
#IndentFunctionDeclarationAfterType:true
IndentWidth: 1
MaxEmptyLinesToKeep: 3
NamespaceIndentation : Inner
PointerBindsToType: true
SpaceAfterControlStatementKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceInEmptyParentheses: false
SpacesInParentheses: false
Standard: Cpp11
TabWidth: 1
UseTab: Never