Add .clang-format specification.
This commit is contained in:
parent
8a88d64bd1
commit
93e4c2ffec
20
.clang-format
Normal file
20
.clang-format
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
BasedOnStyle: WebKit,
|
||||||
|
AlignAfterOpenBracket: AlwaysBreak,
|
||||||
|
AlignConsecutiveAssignments: false,
|
||||||
|
AlignConsecutiveDeclarations: false,
|
||||||
|
AlignAfterOpenBracket: Align,
|
||||||
|
AllowShortBlocksOnASingleLine: false,
|
||||||
|
AllowShortFunctionsOnASingleLine: None,
|
||||||
|
AlwaysBreakAfterReturnType: TopLevelDefinitions,
|
||||||
|
AlwaysBreakTemplateDeclarations: Yes,
|
||||||
|
BinPackArguments: false,
|
||||||
|
BinPackParameters: false,
|
||||||
|
BreakBeforeBraces: Linux,
|
||||||
|
BreakConstructorInitializers: BeforeComma,
|
||||||
|
ColumnLimit: 120,
|
||||||
|
Cpp11BracedListStyle: true,
|
||||||
|
FixNamespaceComments: true,
|
||||||
|
MaxEmptyLinesToKeep: 5,
|
||||||
|
NamespaceIndentation: Inner,
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user