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

Method findLocalDeclarations

kdevplatform/language/duchain/ducontext.cpp:528–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526}
527
528QList<Declaration*> DUContext::findLocalDeclarations(const IndexedIdentifier& identifier,
529 const CursorInRevision& position,
530 const TopDUContext* topContext,
531 const AbstractType::Ptr& dataType,
532 SearchFlags flags) const
533{
534 ENSURE_CAN_READ
535
536 DeclarationList ret;
537 findLocalDeclarationsInternal(identifier,
538 position.isValid() ? position : range().end, dataType, ret,
539 topContext ? topContext : this->topContext(), flags);
540 return ret;
541}
542
543QList<Declaration*> DUContext::findLocalDeclarations(const Identifier& identifier,
544 const CursorInRevision& position,

Callers 5

overridersMethod · 0.80
openDeclarationFunction · 0.80
startCollectingMethod · 0.80
validateMethod · 0.80
loadDeclarationsMethod · 0.80

Calls 3

topContextMethod · 0.95
rangeFunction · 0.85
isValidMethod · 0.45

Tested by 1

loadDeclarationsMethod · 0.64