##// END OF EJS Templates
Ajout de clangformat
Ajout de clangformat

File last commit:

r4:e36aaa65e079
r4:e36aaa65e079
Show More
.clang-format
26 lines | 637 B | text/plain | TextLexer
Ajout de clangformat
r4 ---
# See http://clang.llvm.org/docs/ClangFormatStyleOptions.html for a definition
# of the options
Language: Cpp
BasedOnStyle: LLVM
# Line length
ColumnLimit: 100
# Indent with 4 spaces
IndentWidth: 4
AccessModifierOffset: -4 # -IndentWidth
ConstructorInitializerIndentWidth: 8 # 2 * IndentWidth
# Break only before function braces
BreakBeforeBraces: Stroustrup
AllowShortFunctionsOnASingleLine: Inline
AlwaysBreakTemplateDeclarations: true
AlwaysBreakBeforeMultilineStrings: true
BreakBeforeBinaryOperators: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
IndentCaseLabels: true
MaxEmptyLinesToKeep: 2
Standard: Cpp03