forked from qt-creator/qt-creator
		
	CodeModel(s): Unify name/values of accessed environment variables
Format: QTC_*=(1|0). Now it's easier to change them in the Run Configuration of Qt Creator. Change-Id: Ifc45cecb89b33a31942b4c3e2d03851a1d72d0bf Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
		@@ -16,6 +16,8 @@
 | 
			
		||||
using namespace CppTools;
 | 
			
		||||
using namespace CppTools::Internal;
 | 
			
		||||
 | 
			
		||||
static const bool DumpFileNameWhileParsing = qgetenv("QTC_DUMP_FILENAME_WHILE_PARSING") == "1";
 | 
			
		||||
 | 
			
		||||
namespace {
 | 
			
		||||
 | 
			
		||||
static void parse(QFutureInterface<void> &future,
 | 
			
		||||
@@ -171,7 +173,7 @@ BuiltinIndexingSupport::BuiltinIndexingSupport()
 | 
			
		||||
    : m_revision(0)
 | 
			
		||||
{
 | 
			
		||||
    m_synchronizer.setCancelOnWait(true);
 | 
			
		||||
    m_dumpFileNameWhileParsing = !qgetenv("QTCREATOR_DUMP_FILENAME_WHILE_PARSING").isNull();
 | 
			
		||||
    m_dumpFileNameWhileParsing = DumpFileNameWhileParsing;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
BuiltinIndexingSupport::~BuiltinIndexingSupport()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user