mirror of
				https://github.com/MaskRay/ccls.git
				synced 2025-11-03 22:04:24 +00:00 
			
		
		
		
	Use c++14 by default if no language is specified.
This commit is contained in:
		
							parent
							
								
									ab41e0353c
								
							
						
					
					
						commit
						2e20c8b655
					
				@ -153,7 +153,7 @@ Project::Entry GetCompilationEntryFromCompileCommandEntry(
 | 
			
		||||
      if (*source_file_type == "c")
 | 
			
		||||
        result.args.push_back("-std=gnu11");
 | 
			
		||||
      else if (*source_file_type == "c++")
 | 
			
		||||
        result.args.push_back("-std=c++11");
 | 
			
		||||
        result.args.push_back("-std=c++14");
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user