mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
92cb968738
* A weight of 300 seems to cause weird problems like it allowing comments to stretch beyond the column limit even if they're the only thing on a line in a block. A value of 200 avoids this without reformatting any other code (phew!)
114 lines
3.1 KiB
YAML
114 lines
3.1 KiB
YAML
---
|
|
# BasedOnStyle: Chromium
|
|
AccessModifierOffset: -2
|
|
AlignAfterOpenBracket: Align
|
|
AlignConsecutiveAssignments: false
|
|
AlignConsecutiveDeclarations: false
|
|
AlignEscapedNewlinesLeft: true
|
|
AlignOperands: true
|
|
AlignTrailingComments: true
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
AllowShortBlocksOnASingleLine: false
|
|
AllowShortCaseLabelsOnASingleLine: true
|
|
AllowShortFunctionsOnASingleLine: InlineOnly
|
|
AllowShortLambdasOnASingleLine: All
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
AllowShortLoopsOnASingleLine: false
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakBeforeMultilineStrings: true
|
|
AlwaysBreakTemplateDeclarations: true
|
|
BinPackArguments: true
|
|
BinPackParameters: true
|
|
BraceWrapping:
|
|
AfterCaseLabel: true
|
|
AfterClass: true
|
|
AfterControlStatement: true
|
|
AfterEnum: true
|
|
AfterFunction: true
|
|
AfterNamespace: true
|
|
AfterObjCDeclaration: true
|
|
AfterStruct: true
|
|
AfterUnion: true
|
|
BeforeCatch: true
|
|
BeforeElse: true
|
|
IndentBraces: false
|
|
BreakBeforeBinaryOperators: None
|
|
BreakBeforeBraces: Custom
|
|
BreakBeforeTernaryOperators: true
|
|
BreakConstructorInitializersBeforeComma: false
|
|
ColumnLimit: 100
|
|
CommentPragmas: '^ IWYU pragma:'
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
ConstructorInitializerIndentWidth: 4
|
|
ContinuationIndentWidth: 4
|
|
Cpp11BracedListStyle: true
|
|
DerivePointerAlignment: false
|
|
DisableFormat: false
|
|
EmptyLineBeforeAccessModifier: Leave
|
|
ExperimentalAutoDetectBinPacking: false
|
|
FixNamespaceComments: false
|
|
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
|
|
IncludeCategories:
|
|
- Regex: '<.*\.h>'
|
|
Priority: 1
|
|
- Regex: '^<[^.]*>'
|
|
Priority: 2
|
|
- Regex: '.*/.*'
|
|
Priority: 3
|
|
- Regex: '.*'
|
|
Priority: 4
|
|
IncludeIsMainRegex: ''
|
|
IndentCaseLabels: true
|
|
IndentWidth: 2
|
|
IndentWrappedFunctionNames: false
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
MacroBlockBegin: ''
|
|
MacroBlockEnd: ''
|
|
MaxEmptyLinesToKeep: 1
|
|
NamespaceIndentation: None
|
|
ObjCBinPackProtocolList: Never
|
|
ObjCBlockIndentWidth: 2
|
|
ObjCBreakBeforeNestedBlockParam: true
|
|
ObjCSpaceAfterProperty: false
|
|
ObjCSpaceBeforeProtocolList: false
|
|
PenaltyBreakBeforeFirstCallParameter: 1
|
|
PenaltyBreakComment: 200
|
|
PenaltyBreakFirstLessLess: 120
|
|
PenaltyBreakString: 1000
|
|
PenaltyExcessCharacter: 10
|
|
PenaltyReturnTypeOnItsOwnLine: 2000
|
|
PointerAlignment: Right
|
|
ReflowComments: true
|
|
SortIncludes: true
|
|
SortUsingDeclarations: false
|
|
SpaceAfterCStyleCast: false
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeParens: Never
|
|
SpaceInEmptyParentheses: false
|
|
SpacesBeforeTrailingComments: 4
|
|
SpacesInAngles: Never
|
|
SpacesInContainerLiterals: true
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInParentheses: false
|
|
SpacesInSquareBrackets: false
|
|
Standard: Auto
|
|
StatementMacros:
|
|
- Q_UNUSED
|
|
- QT_REQUIRE_VERSION
|
|
- BEGIN_ENUM_STRINGISE
|
|
- BEGIN_ENUM_CLASS_STRINGISE
|
|
- STRINGISE_ENUM
|
|
- STRINGISE_ENUM_CLASS
|
|
- STRINGISE_ENUM_NAMED
|
|
- STRINGISE_ENUM_CLASS_NAMED
|
|
- STRINGISE_BITFIELD_BIT
|
|
TabWidth: 2
|
|
UseTab: Never
|
|
---
|
|
Language: Cpp
|
|
---
|
|
Language: ObjC
|
|
...
|
|
|