Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaLookup.cpp368 auto *DUnderlying = D->getUnderlyingDecl(); in isPreferredLookupResult() local
377 if (DUnderlying->getCanonicalDecl() != EUnderlying->getCanonicalDecl()) { in isPreferredLookupResult()
378 assert(isa<TypeDecl>(DUnderlying) && isa<TypeDecl>(EUnderlying)); in isPreferredLookupResult()
388 if (auto *DFD = dyn_cast<FunctionDecl>(DUnderlying)) { in isPreferredLookupResult()
400 if (auto *DTD = dyn_cast<TemplateDecl>(DUnderlying)) { in isPreferredLookupResult()
423 if (!isa<FunctionDecl>(DUnderlying) && !isa<VarDecl>(DUnderlying)) { in isPreferredLookupResult()
430 for (Decl *Prev = DUnderlying->getPreviousDecl(); Prev; in isPreferredLookupResult()