forked from qt-creator/qt-creator
ClangCodeModel: Adapt to new "inactiveRegions" notification in clangd
See https://reviews.llvm.org/D143974. Change-Id: Iff6cc39f7c567feee1953fde1ca96a9aefec75d4 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -12,7 +12,11 @@ template <typename T>
|
||||
class QPromise;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace LanguageClient { class ExpandedSemanticToken; }
|
||||
namespace LanguageClient {
|
||||
class Client;
|
||||
class ExpandedSemanticToken;
|
||||
}
|
||||
namespace LanguageServerProtocol { class JsonRpcMessage; }
|
||||
namespace TextEditor {
|
||||
class HighlightingResult;
|
||||
class TextDocument;
|
||||
@@ -36,4 +40,9 @@ void doSemanticHighlighting(
|
||||
const TaskTimer &taskTimer
|
||||
);
|
||||
|
||||
|
||||
QString inactiveRegionsMethodName();
|
||||
void handleInactiveRegions(LanguageClient::Client *client,
|
||||
const LanguageServerProtocol::JsonRpcMessage &msg);
|
||||
|
||||
} // namespace ClangCodeModel::Internal
|
||||
|
||||
Reference in New Issue
Block a user