Home
last modified time | relevance | path

Searched refs:nextRef (Results 1 – 4 of 4) sorted by relevance

/system/tools/hidl/lint/lints/
Dsafeunion.cpp65 for (const auto* nextRef : scope->getReferences()) { in lintUnionRecursively() local
66 if (!nextRef->get()->isCompoundType()) continue; in lintUnionRecursively()
68 const CompoundType* compoundType = static_cast<const CompoundType*>(nextRef->get()); in lintUnionRecursively()
71 if (!Location::inSameFile(scope->location(), nextRef->location())) continue; in lintUnionRecursively()
76 errors->push_back(Lint(ERROR, nextRef->location()) in lintUnionRecursively()
102 errors->push_back(Lint(ERROR, nextRef->location()) in lintUnionRecursively()
/system/tools/hidl/
DAST.cpp208 for (auto* nextRef : type->getReferences()) { in lookupTypes() local
209 if (nextRef->isResolved()) { in lookupTypes()
213 Type* nextType = lookupType(nextRef->getLookupFqName(), scope); in lookupTypes()
216 << nextRef->getLookupFqName().string() << "' at " in lookupTypes()
217 << nextRef->location() in lookupTypes()
221 nextRef->set(nextType); in lookupTypes()
234 for (auto* nextRef : type->getReferences()) { in gatherReferencedTypes() local
235 const Type *targetType = nextRef->get(); in gatherReferencedTypes()
259 for (auto* nextRef : ce->getReferences()) { in lookupConstantExpressions() local
260 if (nextRef->isResolved()) continue; in lookupConstantExpressions()
[all …]
DType.cpp179 for (auto* nextRef : getReferences()) { in recursivePass() local
180 err = nextRef->shallowGet()->recursivePass(stage, func, visited); in recursivePass()
203 for (const auto* nextRef : getReferences()) { in recursivePass() local
204 err = nextRef->shallowGet()->recursivePass(stage, func, visited); in recursivePass()
254 for (const auto* nextRef : getStrongReferences()) { in topologicalOrder() local
255 const auto* nextType = nextRef->shallowGet(); in topologicalOrder()
262 << nextRef->location() << "\n"; in topologicalOrder()
DConstantExpression.cpp576 for (auto* nextRef : getReferences()) { in recursivePass() local
577 auto* nextCE = nextRef->shallowGet()->constExpr(); in recursivePass()
609 for (const auto* nextRef : getReferences()) { in recursivePass() local
610 const auto* nextCE = nextRef->shallowGet()->constExpr(); in recursivePass()
655 for (const auto* nextRef : getReferences()) { in checkAcyclic() local
656 const auto* nextCE = nextRef->shallowGet()->constExpr(); in checkAcyclic()
669 << nextRef->location() << "\n"; in checkAcyclic()