mirror of https://github.com/grpc/grpc.git
Merge pull request #143 from ctiller/bah-humbug-clang-format-is-the-suxxors
Make clang-format somewhat compatible across versionspull/149/head
commit
6a3880b0f1
1 changed files with 1 additions and 53 deletions
@ -1,57 +1,5 @@ |
|||||||
--- |
--- |
||||||
Language: Cpp |
Language: Cpp |
||||||
# BasedOnStyle: Google |
BasedOnStyle: Google |
||||||
AccessModifierOffset: -1 |
|
||||||
ConstructorInitializerIndentWidth: 4 |
|
||||||
AlignEscapedNewlinesLeft: true |
|
||||||
AlignTrailingComments: true |
|
||||||
AllowAllParametersOfDeclarationOnNextLine: true |
|
||||||
AllowShortBlocksOnASingleLine: false |
|
||||||
AllowShortIfStatementsOnASingleLine: true |
|
||||||
AllowShortLoopsOnASingleLine: true |
|
||||||
AllowShortFunctionsOnASingleLine: All |
|
||||||
AlwaysBreakTemplateDeclarations: true |
|
||||||
AlwaysBreakBeforeMultilineStrings: true |
|
||||||
BreakBeforeBinaryOperators: false |
|
||||||
BreakBeforeTernaryOperators: true |
|
||||||
BreakConstructorInitializersBeforeComma: false |
|
||||||
BinPackParameters: true |
|
||||||
ColumnLimit: 80 |
|
||||||
ConstructorInitializerAllOnOneLineOrOnePerLine: true |
|
||||||
DerivePointerAlignment: true |
|
||||||
ExperimentalAutoDetectBinPacking: false |
|
||||||
IndentCaseLabels: true |
|
||||||
IndentWrappedFunctionNames: false |
|
||||||
IndentFunctionDeclarationAfterType: false |
|
||||||
MaxEmptyLinesToKeep: 1 |
|
||||||
KeepEmptyLinesAtTheStartOfBlocks: false |
|
||||||
NamespaceIndentation: None |
|
||||||
ObjCSpaceAfterProperty: false |
|
||||||
ObjCSpaceBeforeProtocolList: false |
|
||||||
PenaltyBreakBeforeFirstCallParameter: 1 |
|
||||||
PenaltyBreakComment: 300 |
|
||||||
PenaltyBreakString: 1000 |
|
||||||
PenaltyBreakFirstLessLess: 120 |
|
||||||
PenaltyExcessCharacter: 1000000 |
|
||||||
PenaltyReturnTypeOnItsOwnLine: 200 |
|
||||||
PointerAlignment: Left |
|
||||||
SpacesBeforeTrailingComments: 2 |
|
||||||
Cpp11BracedListStyle: true |
|
||||||
Standard: Auto |
|
||||||
IndentWidth: 2 |
|
||||||
TabWidth: 8 |
|
||||||
UseTab: Never |
|
||||||
BreakBeforeBraces: Attach |
|
||||||
SpacesInParentheses: false |
|
||||||
SpacesInAngles: false |
|
||||||
SpaceInEmptyParentheses: false |
|
||||||
SpacesInCStyleCastParentheses: false |
|
||||||
SpacesInContainerLiterals: true |
|
||||||
SpaceBeforeAssignmentOperators: true |
|
||||||
ContinuationIndentWidth: 4 |
|
||||||
CommentPragmas: '^ IWYU pragma:' |
|
||||||
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] |
|
||||||
SpaceBeforeParens: ControlStatements |
|
||||||
DisableFormat: false |
|
||||||
... |
... |
||||||
|
|
||||||
|
Loading…
Reference in new issue