mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 02:01:33 +01:00 
			
		
		
		
	Make include order follow Google/LLVM/Lakos guidelines
This commit is contained in:
		
							parent
							
								
									6132c67bd2
								
							
						
					
					
						commit
						651d5e18a3
					
				
					 3 changed files with 5 additions and 3 deletions
				
			
		|  | @ -7,7 +7,7 @@ | ||||||
|   BreakBeforeBraces: Attach |   BreakBeforeBraces: Attach | ||||||
|   ColumnLimit: '100' |   ColumnLimit: '100' | ||||||
|   ConstructorInitializerAllOnOneLineOrOnePerLine: 'true' |   ConstructorInitializerAllOnOneLineOrOnePerLine: 'true' | ||||||
|   IncludeBlocks: Regroup |   IncludeBlocks: Preserve | ||||||
|   IndentPPDirectives: AfterHash |   IndentPPDirectives: AfterHash | ||||||
|   IndentWidth: '2' |   IndentWidth: '2' | ||||||
|   NamespaceIndentation: All |   NamespaceIndentation: All | ||||||
|  |  | ||||||
|  | @ -1,6 +1,7 @@ | ||||||
| #include <fmt/format.h> |  | ||||||
| #include <greeter/greeter.h> | #include <greeter/greeter.h> | ||||||
| 
 | 
 | ||||||
|  | #include <fmt/format.h> | ||||||
|  | 
 | ||||||
| using namespace greeter; | using namespace greeter; | ||||||
| 
 | 
 | ||||||
| Greeter::Greeter(std::string _name) : name(std::move(_name)) {} | Greeter::Greeter(std::string _name) : name(std::move(_name)) {} | ||||||
|  |  | ||||||
|  | @ -1,7 +1,8 @@ | ||||||
| #include <doctest/doctest.h> |  | ||||||
| #include <greeter/greeter.h> | #include <greeter/greeter.h> | ||||||
| #include <greeter/version.h> | #include <greeter/version.h> | ||||||
| 
 | 
 | ||||||
|  | #include <doctest/doctest.h> | ||||||
|  | 
 | ||||||
| #include <string> | #include <string> | ||||||
| 
 | 
 | ||||||
| TEST_CASE("Greeter") { | TEST_CASE("Greeter") { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue