36 lines
		
	
	
		
			911 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			911 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # Reformat all source files from the root directory with:
 | |
| # clang-format -i $(find . -name '*.[ch]')
 | |
| ---
 | |
| Language: Cpp
 | |
| BasedOnStyle: LLVM
 | |
| 
 | |
| AlignAfterOpenBracket: DontAlign
 | |
| AlignConsecutiveAssignments: None
 | |
| AllowShortBlocksOnASingleLine: false
 | |
| AllowShortFunctionsOnASingleLine: None
 | |
| AllowShortIfStatementsOnASingleLine: false
 | |
| AlwaysBreakAfterDefinitionReturnType: true
 | |
| BreakBeforeBinaryOperators: NonAssignment
 | |
| BreakBeforeBraces: Custom
 | |
| BreakConstructorInitializers: AfterColon
 | |
| BraceWrapping:
 | |
|   AfterControlStatement: false
 | |
|   AfterFunction: true
 | |
|   AfterStruct: false
 | |
|   AfterUnion: false
 | |
|   BeforeElse: false
 | |
| ColumnLimit: 0
 | |
| ContinuationIndentWidth: 16
 | |
| Cpp11BracedListStyle: false
 | |
| IncludeBlocks: Preserve
 | |
| IndentCaseLabels: true
 | |
| IndentWidth: 8
 | |
| KeepEmptyLinesAtTheStartOfBlocks: false
 | |
| MaxEmptyLinesToKeep: 2
 | |
| SortIncludes: true
 | |
| SpaceAfterCStyleCast: true
 | |
| SpacesBeforeTrailingComments: 0
 | |
| TabWidth: 8
 | |
| UseTab: Always
 | |
| ...
 |