41 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # https://clang.llvm.org/docs/ClangFormatStyleOptions.html
 | |
| Language: Cpp
 | |
| BasedOnStyle: LLVM
 | |
| AccessModifierOffset: -4
 | |
| AlignAfterOpenBracket: DontAlign
 | |
| AllowAllArgumentsOnNextLine: false
 | |
| AllowAllParametersOfDeclarationOnNextLine: false
 | |
| AllowShortFunctionsOnASingleLine: false
 | |
| BreakBeforeBraces: Allman
 | |
| BreakBeforeConceptDeclarations: Always
 | |
| BreakBeforeTernaryOperators: true
 | |
| BreakInheritanceList: BeforeColon
 | |
| ColumnLimit: 120
 | |
| Cpp11BracedListStyle: false
 | |
| EmptyLineBeforeAccessModifier: Never
 | |
| FixNamespaceComments: false
 | |
| IncludeBlocks: Regroup
 | |
| IncludeCategories:
 | |
|   - Regex: "<[a-z]*>"
 | |
|     Priority: 1
 | |
|   - Regex: "<catch2\/.*>"
 | |
|     Priority: 2
 | |
|   - Regex: "<aoc.*\/.*>"
 | |
|     Priority: 3
 | |
|   - Regex: ".*"
 | |
|     Priority: 4
 | |
| IndentCaseLabels: true
 | |
| IndentPPDirectives: BeforeHash
 | |
| IndentWidth: 4
 | |
| InsertNewlineAtEOF: true
 | |
| NamespaceIndentation: All
 | |
| PackConstructorInitializers: BinPack
 | |
| PointerAlignment: Left
 | |
| ReferenceAlignment: Left
 | |
| SortIncludes: CaseInsensitive
 | |
| SpaceBeforeCaseColon: true
 | |
| SpaceBeforeParens: ControlStatements
 | |
| 
 | |
| # Deprecated
 | |
| AlwaysBreakTemplateDeclarations: true
 |