Created
March 18, 2015 10:26
-
-
Save SergioEstevao/fcacf0ba6dacdced4113 to your computer and use it in GitHub Desktop.
clang-format configuration for WordPress coding guidelines for iOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
Language: Cpp | |
# BasedOnStyle: WebKit | |
AccessModifierOffset: -4 | |
ConstructorInitializerIndentWidth: 4 | |
AlignEscapedNewlinesLeft: false | |
AlignTrailingComments: false | |
AllowAllParametersOfDeclarationOnNextLine: true | |
AllowShortBlocksOnASingleLine: false | |
AllowShortCaseLabelsOnASingleLine: false | |
AllowShortIfStatementsOnASingleLine: false | |
AllowShortLoopsOnASingleLine: false | |
AllowShortFunctionsOnASingleLine: All | |
AlwaysBreakAfterDefinitionReturnType: false | |
AlwaysBreakTemplateDeclarations: false | |
AlwaysBreakBeforeMultilineStrings: false | |
BreakBeforeBinaryOperators: All | |
BreakBeforeTernaryOperators: true | |
BreakConstructorInitializersBeforeComma: true | |
BinPackParameters: true | |
BinPackArguments: true | |
ColumnLimit: 0 | |
ConstructorInitializerAllOnOneLineOrOnePerLine: false | |
DerivePointerAlignment: false | |
ExperimentalAutoDetectBinPacking: false | |
IndentCaseLabels: false | |
IndentWrappedFunctionNames: false | |
IndentFunctionDeclarationAfterType: false | |
MaxEmptyLinesToKeep: 1 | |
KeepEmptyLinesAtTheStartOfBlocks: true | |
NamespaceIndentation: Inner | |
ObjCSpaceAfterProperty: true | |
ObjCSpaceBeforeProtocolList: true | |
PenaltyBreakBeforeFirstCallParameter: 19 | |
PenaltyBreakComment: 300 | |
PenaltyBreakString: 1000 | |
PenaltyBreakFirstLessLess: 120 | |
PenaltyExcessCharacter: 1000000 | |
PenaltyReturnTypeOnItsOwnLine: 60 | |
PointerAlignment: Right | |
SpacesBeforeTrailingComments: 1 | |
Cpp11BracedListStyle: false | |
Standard: Cpp03 | |
IndentWidth: 4 | |
TabWidth: 8 | |
UseTab: Never | |
BreakBeforeBraces: Linux | |
SpacesInParentheses: false | |
SpacesInSquareBrackets: false | |
SpacesInAngles: false | |
SpaceInEmptyParentheses: false | |
SpacesInCStyleCastParentheses: false | |
SpaceAfterCStyleCast: false | |
SpacesInContainerLiterals: false | |
SpaceBeforeAssignmentOperators: true | |
ContinuationIndentWidth: 4 | |
CommentPragmas: '^ IWYU pragma:' | |
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] | |
SpaceBeforeParens: ControlStatements | |
DisableFormat: false | |
... | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment