Clang: Tool tips for clang query diagnostics

If you hover a diagnostics in for a clang query you get now a simple tool
tip.

Change-Id: I6352dd3d4b9a33c183e69037eac903469b90eea4
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Marco Bubke
2017-07-19 10:43:47 +02:00
committed by Tim Jenssen
parent 9b5d6546b8
commit 9428624fc1
16 changed files with 492 additions and 11 deletions

View File

@@ -44,6 +44,12 @@ public:
bool hasDiagnostics() const;
ClangBackEnd::DynamicASTMatcherDiagnosticMessageContainers
messagesForLineAndColumn(uint line, uint column) const;
ClangBackEnd::DynamicASTMatcherDiagnosticContextContainers
contextsForLineAndColumn(uint line, uint column) const;
protected:
void highlightBlock(const QString &text) override;