1--- 2BasedOnStyle: WebKit 3Language: Cpp 4AlignAfterOpenBracket: true 5AlwaysBreakTemplateDeclarations: true 6BreakBeforeBraces: Custom 7BreakConstructorInitializersBeforeComma: true 8BreakBeforeBinaryOperators: NonAssignment 9BraceWrapping: 10 AfterClass: true 11 AfterControlStatement: false 12 AfterEnum: true 13 AfterFunction: true 14 AfterNamespace: false 15 AfterObjCDeclaration: false 16 AfterStruct: true 17 AfterUnion: false 18 BeforeCatch: false 19 BeforeElse: false 20 IndentBraces: false 21ColumnLimit: 120 22Standard: Cpp11 23IndentWidth: 4 24TabWidth: 8 25UseTab: Never 26PointerAlignment: Left 27SpacesInParentheses: false 28SpacesInAngles: false 29SpaceInEmptyParentheses: false 30SpacesInCStyleCastParentheses: false 31SpaceAfterControlStatementKeyword: true 32SpaceBeforeAssignmentOperators: true 33ContinuationIndentWidth: 4 34Cpp11BracedListStyle: true 35IncludeCategories: 36 - Regex: '^<boost/' 37 Priority: 1 38 - Regex: '^<Q' 39 Priority: 2 40AllowShortFunctionsOnASingleLine: None 41ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, forever, Q_FOREVER, QBENCHMARK, QBENCHMARK_ONCE, TEST_CASE, SECTION ] 42NamespaceIndentation: None 43# Only for newer clang-format versions 44#MacroBlockBegin: BEGINTESTFUNCIMPL 45#MacroBlockEnd: ENDTESTFUNCIMPL 46... 47 48