verovio.git · .clang-format
verovio.git / .clang-format
revision eefeb7d479ffe7e6e0c4de00a917f6a94ff0e309 · complete file
--- Language: Cpp Standard: Cpp11 # BasedOnStyle: WebKit AccessModifierOffset: -4 AlignAfterOpenBracket: false AlignEscapedNewlinesLeft: false AlignOperands: false AlignTrailingComments: false AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: false AllowShortCaseLabelsOnASingleLine: true # Verovio AllowShortIfStatementsOnASingleLine: true # Verovio AllowShortLoopsOnASingleLine: true # Verovio AllowShortFunctionsOnASingleLine: Inline AlwaysBreakAfterDefinitionReturnType: false AlwaysBreakTemplateDeclarations: false AlwaysBreakBeforeMultilineStrings: false BreakBeforeBinaryOperators: All BreakBeforeTernaryOperators: true BreakConstructorInitializersBeforeComma: true BinPackParameters: true BinPackArguments: true # Verovio ColumnLimit: 120 # Verovio ConstructorInitializerAllOnOneLineOrOnePerLine: true ConstructorInitializerIndentWidth: 4 DerivePointerAlignment: false ExperimentalAutoDetectBinPacking: false IndentCaseLabels: true IndentWrappedFunctionNames: false IndentFunctionDeclarationAfterType: false MaxEmptyLinesToKeep: 1 KeepEmptyLinesAtTheStartOfBlocks: true NamespaceIndentation: Inner ObjCBlockIndentWidth: 4 ObjCSpaceAfterProperty: true ObjCSpaceBeforeProtocolList: true PenaltyBreakBeforeFirstCallParameter: 19 PenaltyBreakComment: 300 PenaltyBreakString: 1000 PenaltyBreakFirstLessLess: 120 PenaltyExcessCharacter: 1000000 PenaltyReturnTypeOnItsOwnLine: 60 # Verovio PointerAlignment: Right SpacesBeforeTrailingComments: 1 Cpp11BracedListStyle: false IndentWidth: 4 TabWidth: 8 UseTab: Never BreakBeforeBraces: Stroustrup SpacesInParentheses: false SpacesInSquareBrackets: false SpacesInAngles: false SpaceInEmptyParentheses: false SpacesInCStyleCastParentheses: false SpaceAfterCStyleCast: false SpacesInContainerLiterals: true SpaceBeforeAssignmentOperators: true ContinuationIndentWidth: 4 CommentPragmas: '^ IWYU pragma:' ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] SpaceBeforeParens: ControlStatements DisableFormat: false ...