mirror of
				https://github.com/dolphin-emu/dolphin.git
				synced 2025-11-03 13:16:15 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			101 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			101 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
---
 | 
						|
# Global config for all languages
 | 
						|
AccessModifierOffset: -2
 | 
						|
AlignAfterOpenBracket: Align
 | 
						|
AlignConsecutiveAssignments: false
 | 
						|
AlignConsecutiveDeclarations: false
 | 
						|
AlignEscapedNewlines:  Right
 | 
						|
AlignOperands:   true
 | 
						|
AlignTrailingComments: true
 | 
						|
AllowAllParametersOfDeclarationOnNextLine: true
 | 
						|
AllowShortBlocksOnASingleLine: Never
 | 
						|
AllowShortCaseLabelsOnASingleLine: false
 | 
						|
AllowShortFunctionsOnASingleLine: InlineOnly
 | 
						|
AllowShortIfStatementsOnASingleLine: false
 | 
						|
AllowShortLoopsOnASingleLine: false
 | 
						|
AlwaysBreakAfterDefinitionReturnType: None
 | 
						|
AlwaysBreakAfterReturnType: None
 | 
						|
AlwaysBreakBeforeMultilineStrings: false
 | 
						|
BreakTemplateDeclarations: Yes
 | 
						|
BinPackArguments: true
 | 
						|
BinPackParameters: true
 | 
						|
BraceWrapping:
 | 
						|
  AfterCaseLabel:  true
 | 
						|
  AfterClass:      true
 | 
						|
  AfterControlStatement: true
 | 
						|
  AfterEnum:       true
 | 
						|
  AfterFunction:   true
 | 
						|
  AfterNamespace:  true
 | 
						|
  AfterStruct:     true
 | 
						|
  AfterUnion:      true
 | 
						|
  BeforeCatch:     true
 | 
						|
  BeforeElse:      true
 | 
						|
  IndentBraces:    false
 | 
						|
BreakBeforeBinaryOperators: None
 | 
						|
BreakBeforeBraces: Custom
 | 
						|
BreakBeforeTernaryOperators: false
 | 
						|
BreakConstructorInitializersBeforeComma: false
 | 
						|
ColumnLimit:     100
 | 
						|
CommentPragmas:  '^ (IWYU pragma:|NOLINT)'
 | 
						|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
 | 
						|
ConstructorInitializerIndentWidth: 4
 | 
						|
ContinuationIndentWidth: 4
 | 
						|
Cpp11BracedListStyle: true
 | 
						|
DerivePointerAlignment: false
 | 
						|
DisableFormat:   false
 | 
						|
ForEachMacros:   []
 | 
						|
IncludeCategories:
 | 
						|
  - Regex:           '^<[Ww]indows\.h>$'
 | 
						|
    Priority:        1
 | 
						|
  - Regex:           '^<'
 | 
						|
    Priority:        2
 | 
						|
  - Regex:           '^"'
 | 
						|
    Priority:        3
 | 
						|
IndentCaseLabels: false
 | 
						|
IndentWidth:     2
 | 
						|
IndentWrappedFunctionNames: false
 | 
						|
InsertNewlineAtEOF: true
 | 
						|
KeepEmptyLinesAtTheStartOfBlocks: false
 | 
						|
MacroBlockBegin: ''
 | 
						|
MacroBlockEnd:   ''
 | 
						|
MaxEmptyLinesToKeep: 1
 | 
						|
NamespaceIndentation: None
 | 
						|
PenaltyBreakBeforeFirstCallParameter: 19
 | 
						|
PenaltyBreakComment: 300
 | 
						|
PenaltyBreakFirstLessLess: 120
 | 
						|
PenaltyBreakString: 1000
 | 
						|
PenaltyExcessCharacter: 1000000
 | 
						|
PenaltyReturnTypeOnItsOwnLine: 60
 | 
						|
PointerAlignment: Left
 | 
						|
ReflowComments:  true
 | 
						|
RemoveSemicolon: true
 | 
						|
RequiresClausePosition: WithPreceding
 | 
						|
SortIncludes:    CaseSensitive
 | 
						|
SpaceAfterCStyleCast: false
 | 
						|
SpaceBeforeAssignmentOperators: true
 | 
						|
SpaceBeforeParens: ControlStatements
 | 
						|
SpaceInEmptyParentheses: false
 | 
						|
SpacesBeforeTrailingComments: 2
 | 
						|
SpacesInAngles:  false
 | 
						|
SpacesInContainerLiterals: true
 | 
						|
SpacesInCStyleCastParentheses: false
 | 
						|
SpacesInParentheses: false
 | 
						|
SpacesInSquareBrackets: false
 | 
						|
Standard:        Latest
 | 
						|
StatementAttributeLikeMacros:
 | 
						|
  - emit
 | 
						|
TabWidth:        2
 | 
						|
UseTab:          Never
 | 
						|
---
 | 
						|
# C++ Specific Config
 | 
						|
Language:        Cpp
 | 
						|
---
 | 
						|
# Objective-C Specific Config
 | 
						|
Language:        ObjC
 | 
						|
ObjCBlockIndentWidth: 2
 | 
						|
ObjCSpaceAfterProperty: false
 | 
						|
ObjCSpaceBeforeProtocolList: true
 | 
						|
BraceWrapping:
 | 
						|
  AfterObjCDeclaration: true
 | 
						|
...
 |