forked from qt-creator/qt-creator
CppEditor: Make a few CppModelManager functions static
... to simplify code using it. Change-Id: Ib2bfbb5a17a1d48088a9cf4973d4c3f006cd34e4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -337,7 +337,7 @@ void TestCodeParser::scanForTests(const QSet<FilePath> &filePaths,
|
||||
qCDebug(LOG) << QDateTime::currentDateTime().toString("hh:mm:ss.zzz") << "StartParsing";
|
||||
m_parsingTimer.restart();
|
||||
QSet<QString> extensions;
|
||||
const auto cppSnapshot = CppEditor::CppModelManager::instance()->snapshot();
|
||||
const auto cppSnapshot = CppEditor::CppModelManager::snapshot();
|
||||
|
||||
for (ITestParser *parser : codeParsers) {
|
||||
parser->init(files, isFullParse);
|
||||
|
||||
Reference in New Issue
Block a user