MCPcopy Create free account
hub / github.com/KDE/kdevelop / if

Function if

kdevplatform/language/duchain/declaration.cpp:374–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372const Declaration* Declaration::logicalDeclaration(const TopDUContext* topContext) const
373{
374 ENSURE_CAN_READ
375 if (isForwardDeclaration()) {
376 const auto dec = static_cast<const ForwardDeclaration*>(this);
377 Declaration* ret = dec->resolve(topContext);
378 if (ret)
379 return ret;
380 }
381 return this;
382}
383

Callers 5

indexMethod · 0.50
ContainerTabBarClass · 0.50
bench_hashes.cppFile · 0.50
testsuite.hFile · 0.50

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected