forked from qt-creator/qt-creator
		
	CppTools: Change default of "Ignore precompiled headers" to false
If the project has no PCH it has no effect, and if it does have PCH it is typically important to use it. Change-Id: I20ce2a0c5713253d2754d31e7b7dca51696b208b Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
		
				
					committed by
					
						
						Orgad Shaneh
					
				
			
			
				
	
			
			
			
						parent
						
							b8c5f918bd
						
					
				
				
					commit
					24bcce4aa6
				
			@@ -38,7 +38,7 @@ static Core::Id initialClangDiagnosticConfigId()
 | 
			
		||||
{ return Core::Id(Constants::CPP_CLANG_BUILTIN_CONFIG_ID_EVERYTHING_WITH_EXCEPTIONS); }
 | 
			
		||||
 | 
			
		||||
static CppCodeModelSettings::PCHUsage initialPchUsage()
 | 
			
		||||
{ return CppCodeModelSettings::PchUse_None; }
 | 
			
		||||
{ return CppCodeModelSettings::PchUse_BuildSystem; }
 | 
			
		||||
 | 
			
		||||
static QString clangDiagnosticConfigKey()
 | 
			
		||||
{ return QStringLiteral("ClangDiagnosticConfig"); }
 | 
			
		||||
 
 | 
			
		||||
@@ -77,7 +77,7 @@ signals:
 | 
			
		||||
    void changed();
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    PCHUsage m_pchUsage = PchUse_None;
 | 
			
		||||
    PCHUsage m_pchUsage = PchUse_BuildSystem;
 | 
			
		||||
    bool m_interpretAmbigiousHeadersAsCHeaders = false;
 | 
			
		||||
    bool m_skipIndexingBigFiles = true;
 | 
			
		||||
    int m_indexerFileSizeLimitInMB = 5;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user