mirror of
				https://github.com/MaskRay/ccls.git
				synced 2025-11-03 22:04:24 +00:00 
			
		
		
		
	Blacklist '-include' and '-include-pch' flags. (#545)
This commit is contained in:
		
							parent
							
								
									401d542ba7
								
							
						
					
					
						commit
						59769df8b5
					
				@ -76,7 +76,7 @@ struct ProjectConfig {
 | 
			
		||||
// TODO: See
 | 
			
		||||
// https://github.com/Valloric/ycmd/blob/master/ycmd/completers/cpp/flags.py.
 | 
			
		||||
std::vector<std::string> kBlacklistMulti = {
 | 
			
		||||
    "-MF", "-MT", "-MQ", "-o", "--serialize-diagnostics", "-Xclang"};
 | 
			
		||||
    "-MF", "-MT", "-MQ", "-o", "--serialize-diagnostics", "-Xclang", "-include", "-include-pch"};
 | 
			
		||||
 | 
			
		||||
// Blacklisted flags which are always removed from the command line.
 | 
			
		||||
std::vector<std::string> kBlacklist = {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user