109 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			YAML
		
	
	
	
			
		
		
	
	
			109 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			YAML
		
	
	
	
| # Clang-format version v9.0.0
 | |
| ---
 | |
| Language: Cpp
 | |
| BasedOnStyle: Google
 | |
| 
 | |
| ColumnLimit: 120
 | |
| 
 | |
| ##
 | |
| ## Indent Style
 | |
| ##
 | |
| 
 | |
| IndentWidth: 4
 | |
| AccessModifierOffset: -4
 | |
| ConstructorInitializerIndentWidth: 4
 | |
| ContinuationIndentWidth: 4
 | |
| TabWidth: 4
 | |
| UseTab: Never
 | |
| IndentCaseLabels: false
 | |
| NamespaceIndentation: None
 | |
| 
 | |
| ##
 | |
| ## Align Style
 | |
| ##
 | |
| 
 | |
| AlignAfterOpenBracket: Align
 | |
| AlignConsecutiveAssignments: true
 | |
| AlignConsecutiveDeclarations: true
 | |
| AlignEscapedNewlinesLeft: true
 | |
| AlignOperands: true
 | |
| AlignTrailingComments: true
 | |
| PointerAlignment: Left
 | |
| 
 | |
| ##
 | |
| ## SingleLine Style
 | |
| ##
 | |
| 
 | |
| AllowAllParametersOfDeclarationOnNextLine: true
 | |
| AllowShortBlocksOnASingleLine: false
 | |
| AllowShortCaseLabelsOnASingleLine: false
 | |
| AllowShortFunctionsOnASingleLine: Empty
 | |
| AllowShortIfStatementsOnASingleLine: false
 | |
| AllowShortLoopsOnASingleLine: false
 | |
| AlwaysBreakAfterDefinitionReturnType: None
 | |
| AlwaysBreakAfterReturnType: None
 | |
| AlwaysBreakBeforeMultilineStrings: false
 | |
| AlwaysBreakTemplateDeclarations: true
 | |
| BinPackArguments: true
 | |
| BinPackParameters: true
 | |
| BreakBeforeBraces: Allman
 | |
| BraceWrapping:
 | |
|   AfterClass: true
 | |
|   AfterControlStatement: true
 | |
|   AfterEnum: true
 | |
|   AfterFunction: true
 | |
|   AfterNamespace: true
 | |
|   AfterObjCDeclaration: true
 | |
|   AfterStruct: true
 | |
|   AfterUnion: true
 | |
|   BeforeCatch: true
 | |
|   BeforeElse: true
 | |
|   IndentBraces: true
 | |
| BreakBeforeBinaryOperators: NonAssignment
 | |
| BreakBeforeTernaryOperators: true
 | |
| CommentPragmas: "^ IWYU pragma:"
 | |
| ConstructorInitializerAllOnOneLineOrOnePerLine: false
 | |
| 
 | |
| ##
 | |
| ## Others
 | |
| ##
 | |
| 
 | |
| BreakConstructorInitializers: BeforeComma
 | |
| BreakInheritanceList: BeforeComma
 | |
| ReflowComments: true
 | |
| SortIncludes: false
 | |
| Cpp11BracedListStyle: false
 | |
| DerivePointerAlignment: false
 | |
| DisableFormat: false
 | |
| ExperimentalAutoDetectBinPacking: false
 | |
| ForEachMacros: [foreach, Q_FOREACH, BOOST_FOREACH]
 | |
| IncludeCategories:
 | |
|   - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
 | |
|     Priority: 2
 | |
|   - Regex: '^(<|"(gtest|isl|json)/)'
 | |
|     Priority: 3
 | |
|   - Regex: ".*"
 | |
|     Priority: 1
 | |
| IndentWrappedFunctionNames: false
 | |
| KeepEmptyLinesAtTheStartOfBlocks: true
 | |
| MacroBlockBegin: ""
 | |
| MacroBlockEnd: ""
 | |
| MaxEmptyLinesToKeep: 1
 | |
| PenaltyBreakBeforeFirstCallParameter: 19
 | |
| PenaltyBreakComment: 300
 | |
| PenaltyBreakFirstLessLess: 120
 | |
| PenaltyBreakString: 1000
 | |
| PenaltyExcessCharacter: 1000000
 | |
| PenaltyReturnTypeOnItsOwnLine: 60
 | |
| SpaceAfterCStyleCast: false
 | |
| SpaceBeforeAssignmentOperators: true
 | |
| SpaceBeforeParens: ControlStatements
 | |
| SpaceInEmptyParentheses: false
 | |
| SpacesBeforeTrailingComments: 2
 | |
| SpacesInAngles: false
 | |
| SpacesInContainerLiterals: true
 | |
| SpacesInCStyleCastParentheses: false
 | |
| SpacesInParentheses: false
 | |
| SpacesInSquareBrackets: false
 | |
| Standard: Cpp11
 |