| 1199 | } |
| 1200 | |
| 1201 | QVector<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 | |
| 1210 | QExplicitlySharedDataPointer<IAstContainer> TopDUContext::ast() const |
| 1211 | { |
nothing calls this directly
no test coverage detected