mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.9 KiB
66 lines
1.9 KiB
10 years ago
|
---
|
||
|
Language: Cpp
|
||
|
# BasedOnStyle: Google
|
||
|
AccessModifierOffset: -1
|
||
|
AlignAfterOpenBracket: true
|
||
|
AlignEscapedNewlinesLeft: true
|
||
|
AlignOperands: true
|
||
|
AlignTrailingComments: true
|
||
|
AllowAllParametersOfDeclarationOnNextLine: true
|
||
|
AllowShortBlocksOnASingleLine: false
|
||
|
AllowShortCaseLabelsOnASingleLine: false
|
||
|
AllowShortIfStatementsOnASingleLine: true
|
||
|
AllowShortLoopsOnASingleLine: true
|
||
|
AllowShortFunctionsOnASingleLine: All
|
||
|
AlwaysBreakAfterDefinitionReturnType: false
|
||
|
AlwaysBreakTemplateDeclarations: true
|
||
|
AlwaysBreakBeforeMultilineStrings: true
|
||
|
BreakBeforeBinaryOperators: None
|
||
|
BreakBeforeTernaryOperators: true
|
||
|
BreakConstructorInitializersBeforeComma: false
|
||
|
BinPackParameters: true
|
||
|
BinPackArguments: true
|
||
|
ColumnLimit: 80
|
||
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
||
|
ConstructorInitializerIndentWidth: 4
|
||
|
DerivePointerAlignment: true
|
||
|
ExperimentalAutoDetectBinPacking: false
|
||
|
IndentCaseLabels: true
|
||
|
IndentWrappedFunctionNames: false
|
||
|
IndentFunctionDeclarationAfterType: false
|
||
|
MaxEmptyLinesToKeep: 1
|
||
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
||
|
NamespaceIndentation: None
|
||
|
ObjCBlockIndentWidth: 2
|
||
|
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
|
||
|
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
|
||
|
...
|
||
|
|