forked from qt-creator/qt-creator
CppTools/Clang: Remove InMemoryInfo
...nowadays we only need the working copy. Change-Id: I30924b3c5dc68b428d6c10f6ba015b0640b476d2 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
@@ -160,7 +160,7 @@ void indexFindErrors(QFutureInterface<void> &future, const ParseParams params)
|
||||
// Parse the file as precisely as possible
|
||||
BuiltinEditorDocumentParser parser(file);
|
||||
parser.setReleaseSourceAndAST(false);
|
||||
parser.update(BuiltinEditorDocumentParser::InMemoryInfo(false));
|
||||
parser.update(CppModelManager::instance()->workingCopy());
|
||||
CPlusPlus::Document::Ptr document = parser.document();
|
||||
QTC_ASSERT(document, return);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user