forked from qt-creator/qt-creator
ClangCodeModel: Cache clangd's AST
Since we use the AST in several contexts, it can easily happen that we need to consult it more than once for the same document revision. Therefore, it makes sense to cache the AST to prevent redundant requests for potentially large amounts of data. Change-Id: I33100e0052ee21bb46e91848d3d2e8a0a96bb860 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -91,6 +91,7 @@ signals:
|
||||
|
||||
private:
|
||||
void handleDiagnostics(const LanguageServerProtocol::PublishDiagnosticsParams ¶ms) override;
|
||||
void handleDocumentOpened(TextEditor::TextDocument *doc) override;
|
||||
void handleDocumentClosed(TextEditor::TextDocument *doc) override;
|
||||
|
||||
class Private;
|
||||
|
||||
Reference in New Issue
Block a user