mirror of
https://github.com/serge1/ELFIO.git
synced 2025-01-13 18:52:34 +00:00
Add .clang-format
This commit is contained in:
parent
aa4d2c5a74
commit
e730dfdb6f
27
.clang-format
Normal file
27
.clang-format
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
BasedOnStyle : LLVM,
|
||||
|
||||
AlignConsecutiveAssignments : true,
|
||||
AlignConsecutiveDeclarations : true,
|
||||
AlignConsecutiveMacros : true,
|
||||
AlignEscapedNewlines : true,
|
||||
AlignOperands : true,
|
||||
AlignTrailingComments : true,
|
||||
|
||||
UseTab : Never,
|
||||
IndentWidth : 4,
|
||||
TabWidth : 4,
|
||||
BreakBeforeBraces : Stroustrup,
|
||||
AllowShortIfStatementsOnASingleLine : false,
|
||||
IndentCaseLabels : false,
|
||||
ColumnLimit : 90,
|
||||
AccessModifierOffset : -4,
|
||||
NamespaceIndentation : Inner,
|
||||
PointerAlignment : Left,
|
||||
FixNamespaceComments : true,
|
||||
SortIncludes : false,
|
||||
|
||||
ReflowComments : false,
|
||||
SpacesInConditionalStatement : true,
|
||||
SpacesInParentheses : true,
|
||||
}
|
Loading…
Reference in New Issue
Block a user