summaryrefslogtreecommitdiff
path: root/src/tools/clangpchmanagerbackend/source/pchcreator.cpp
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2019-05-22 12:26:58 +0200
committerMarco Bubke <marco.bubke@qt.io>2019-06-17 10:46:21 +0000
commitb213dee0134722fcdcae88efb514e0430fc72959 (patch)
tree51b62b0de0c934f30fd49a3a0056e44614f11209 /src/tools/clangpchmanagerbackend/source/pchcreator.cpp
parent912cb9278f7528709f9edf08060d997c20d3ec8c (diff)
downloadqt-creator-b213dee0134722fcdcae88efb514e0430fc72959.tar.gz
Clang: Improve updating
If project parts are up to date we send them directly to the indexer, so the indexer can decide we something needs an update. Change-Id: I7d4f32794c6b3a861cdefb3653a6dfd4e711f619 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/tools/clangpchmanagerbackend/source/pchcreator.cpp')
-rw-r--r--src/tools/clangpchmanagerbackend/source/pchcreator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clangpchmanagerbackend/source/pchcreator.cpp b/src/tools/clangpchmanagerbackend/source/pchcreator.cpp
index 9dd1bf3647..9416e310aa 100644
--- a/src/tools/clangpchmanagerbackend/source/pchcreator.cpp
+++ b/src/tools/clangpchmanagerbackend/source/pchcreator.cpp
@@ -180,7 +180,7 @@ void PchCreator::doInMainThreadAfterFinished()
m_buildDependenciesStorage.updatePchCreationTimeStamp(m_projectPartPch.lastModified,
m_projectPartPch.projectPartId);
m_clangPathwatcher.updateIdPaths({{m_projectPartPch.projectPartId, existingSources}});
- m_pchManagerClient.precompiledHeadersUpdated({m_projectPartPch});
+ m_pchManagerClient.precompiledHeadersUpdated({m_projectPartPch.projectPartId});
}
}