ClangCodeModel: Add test for "follow symbol"

These are the tests from clangbackend, so we are now up to par coverage-
wise.

Change-Id: I7b8a63109bff17745782a646f684fd795f732672
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2021-05-25 17:27:32 +02:00
parent 170ec9eca5
commit 898558508d
11 changed files with 700 additions and 236 deletions

View File

@@ -897,7 +897,6 @@ void ClangdClient::followSymbol(
void ClangdClient::Private::handleGotoDefinitionResult()
{
QTC_ASSERT(followSymbolData->defLink.hasValidTarget(), return);
QTC_ASSERT(followSymbolData->cursorNode.isValid(), return);
qCDebug(clangdLog) << "handling go to definition result";