diff options
author | Marco Bubke <marco.bubke@qt.io> | 2018-02-20 12:43:05 +0100 |
---|---|---|
committer | Marco Bubke <marco.bubke@qt.io> | 2018-03-22 13:26:24 +0000 |
commit | 53454b0f79fcfebab909d071e931557114ace558 (patch) | |
tree | 29294d846f6d93130324cb36d0f365b67d69bf21 /src/libs/clangsupport/refactoringserverproxy.cpp | |
parent | 70f5e0e2643a7678e9d2b0aa57063b986acdfcaf (diff) | |
download | qt-creator-53454b0f79fcfebab909d071e931557114ace558.tar.gz |
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 <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/libs/clangsupport/refactoringserverproxy.cpp')
-rw-r--r-- | src/libs/clangsupport/refactoringserverproxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |