Make use of clang-format

Change-Id: I71bbf133223931eddb0c7e568cc0b99ecf807fa1
This commit is contained in:
Debao Zhang
2020-03-19 01:33:41 +08:00
parent d013edc9cf
commit 534490e9b2
88 changed files with 2527 additions and 2040 deletions
+25
View File
@@ -0,0 +1,25 @@
BasedOnStyle: WebKit
Standard: Cpp11
ColumnLimit: 100
PointerBindsToType: false
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
AlignAfterOpenBracket: true
AlwaysBreakTemplateDeclarations: true
AllowShortFunctionsOnASingleLine: InlineOnly
NamespaceIndentation: None
SortIncludes: false
ForEachMacros: [ forever, foreach, Q_FOREACH, BOOST_FOREACH ]