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:
Christian Stenger
2018-01-08 15:14:33 +01:00
parent 21e7e9ea3b
commit a4c318d5e1
7 changed files with 17 additions and 13 deletions

View File

@@ -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();
}