diff options
author | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-12-15 12:32:01 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-12-16 13:29:21 +0000 |
commit | 9abfd732045d8309590cbe896b8d79849d862333 (patch) | |
tree | 5853f88acf2d40ff538a181251dc953587e4d5eb /src/plugins/cpptools/baseeditordocumentprocessor.cpp | |
parent | 802f9f47e9040d410bea068c97e6c3a95d1798f0 (diff) | |
download | qt-creator-9abfd732045d8309590cbe896b8d79849d862333.tar.gz |
CppTools/Clang: Remove InMemoryInfo
...nowadays we only need the working copy.
Change-Id: I30924b3c5dc68b428d6c10f6ba015b0640b476d2
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/baseeditordocumentprocessor.cpp')
-rw-r--r-- | src/plugins/cpptools/baseeditordocumentprocessor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cpptools/baseeditordocumentprocessor.cpp b/src/plugins/cpptools/baseeditordocumentprocessor.cpp index 72173c1181..462f8137fd 100644 --- a/src/plugins/cpptools/baseeditordocumentprocessor.cpp +++ b/src/plugins/cpptools/baseeditordocumentprocessor.cpp @@ -76,7 +76,7 @@ BaseEditorDocumentProcessor *BaseEditorDocumentProcessor::get(const QString &fil void BaseEditorDocumentProcessor::runParser(QFutureInterface<void> &future, BaseEditorDocumentParser::Ptr parser, - BaseEditorDocumentParser::InMemoryInfo info) + const WorkingCopy workingCopy) { future.setProgressRange(0, 1); if (future.isCanceled()) { @@ -84,7 +84,7 @@ void BaseEditorDocumentProcessor::runParser(QFutureInterface<void> &future, return; } - parser->update(info); + parser->update(workingCopy); CppModelManager::instance() ->finishedRefreshingSourceFiles(QSet<QString>() << parser->filePath()); |