forked from qt-creator/qt-creator
ClangRefactoring: Fix indexing
We moved inside of loop so projectPart was used many times but was empty after the first iteration. Change-Id: Ie2441dbdd3bb9de73ae1fd076626255599f5dfea Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -102,7 +102,7 @@ void SymbolIndexer::updateProjectPart(ProjectPartContainer &&projectPart)
|
||||
sourcePathId);
|
||||
|
||||
if (!m_modifiedTimeChecker.isUpToDate(dependentTimeStamps)) {
|
||||
auto indexing = [projectPart = std::move(projectPart),
|
||||
auto indexing = [projectPart,
|
||||
sourcePathId,
|
||||
preIncludeSearchPath = m_environment.preIncludeSearchPath(),
|
||||
this](SymbolsCollectorInterface &symbolsCollector) {
|
||||
|
||||
Reference in New Issue
Block a user