forked from qt-creator/qt-creator
AutoTest: Fix wrong behavior when rescan is triggered
If the code parsers perform a full scan then do not use cached information. Change-Id: Ib9635c9715841ab71b97edfe42c4fe9d9d20c23a Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -39,9 +39,10 @@ CppParser::CppParser()
|
||||
s_parserInstance = this;
|
||||
}
|
||||
|
||||
void CppParser::init(const QStringList &filesToParse)
|
||||
void CppParser::init(const QStringList &filesToParse, bool fullParse)
|
||||
{
|
||||
Q_UNUSED(filesToParse);
|
||||
Q_UNUSED(fullParse);
|
||||
m_cppSnapshot = CppTools::CppModelManager::instance()->snapshot();
|
||||
m_workingCopy = CppTools::CppModelManager::instance()->workingCopy();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user