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

Function allUses

kdevplatform/language/duchain/topducontext.cpp:1201–1208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1199}
1200
1201QVector<RangeInRevision> allUses(TopDUContext* context, Declaration* declaration, bool noEmptyRanges)
1202{
1203 QVector<RangeInRevision> ret;
1204 int declarationIndex = context->indexForUsedDeclaration(declaration, false);
1205 if (declarationIndex == std::numeric_limits<int>::max())
1206 return ret;
1207 return allUses(context, declarationIndex, noEmptyRanges);
1208}
1209
1210QExplicitlySharedDataPointer<IAstContainer> TopDUContext::ast() const
1211{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected