From 53454b0f79fcfebab909d071e931557114ace558 Mon Sep 17 00:00:00 2001 From: Marco Bubke Date: Tue, 20 Feb 2018 12:43:05 +0100 Subject: Clang: Use PCHs for indexing As generating the AST is quite expensive it would be very useful to cache the not changed include. So we generate PCHs for include outside of a project part. With this change this PCHs are used by the indexer. For that they are save to the symbol database by the PCH manager and when fetched by the symbol indexer. Change-Id: I7a5b07cfb32d72d50dc52d2b108cd41727a7bfc7 Reviewed-by: Ivan Donchevskii --- src/libs/clangsupport/refactoringserverproxy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libs/clangsupport/refactoringserverproxy.cpp') diff --git a/src/libs/clangsupport/refactoringserverproxy.cpp b/src/libs/clangsupport/refactoringserverproxy.cpp index 47a61fbb31..809a66fe57 100644 --- a/src/libs/clangsupport/refactoringserverproxy.cpp +++ b/src/libs/clangsupport/refactoringserverproxy.cpp @@ -59,12 +59,12 @@ void RefactoringServerProxy::requestSourceRangesForQueryMessage(RequestSourceRan m_writeMessageBlock.write(message); } -void RefactoringServerProxy::updatePchProjectParts(UpdatePchProjectPartsMessage &&message) +void RefactoringServerProxy::updateProjectParts(UpdateProjectPartsMessage &&message) { m_writeMessageBlock.write(message); } -void RefactoringServerProxy::removePchProjectParts(RemovePchProjectPartsMessage &&message) +void RefactoringServerProxy::removeProjectParts(RemoveProjectPartsMessage &&message) { m_writeMessageBlock.write(message); } -- cgit v1.2.1