mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-28 22:25:20 +01:00 
			
		
		
		
	This change permits to use up-to-date compilers, clang-tidy and clang-format It also refactor the tidy/format step to drop the binary selection from scripts and perform it directly in travis
		
			
				
	
	
		
			32 lines
		
	
	
		
			761 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			761 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| BasedOnStyle: LLVM
 | |
| IndentWidth: 8
 | |
| UseTab: Always
 | |
| BreakBeforeBraces: Custom
 | |
| Standard: Cpp11
 | |
| BraceWrapping:
 | |
|   AfterClass: true
 | |
|   AfterControlStatement: false
 | |
|   AfterEnum: true
 | |
|   AfterFunction: true
 | |
|   AfterNamespace: true
 | |
|   AfterStruct: true
 | |
|   AfterUnion: true
 | |
|   BeforeCatch: false
 | |
|   BeforeElse: false
 | |
| FixNamespaceComments: false
 | |
| AllowShortIfStatementsOnASingleLine: false
 | |
| IndentCaseLabels: false
 | |
| AccessModifierOffset: -8
 | |
| ColumnLimit: 90
 | |
| AllowShortFunctionsOnASingleLine: InlineOnly
 | |
| SortIncludes: false
 | |
| IncludeCategories:
 | |
|   - Regex:           '^".*'
 | |
|     Priority:        2
 | |
|   - Regex:           '^<.*'
 | |
|     Priority:        1
 | |
| AlignAfterOpenBracket: DontAlign
 | |
| ContinuationIndentWidth: 16
 | |
| ConstructorInitializerIndentWidth: 16
 | |
| BreakConstructorInitializers: AfterColon
 |