Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DDeclCXX.cpp453 Decl *DUnderlying = D; in addedMember() local
454 if (auto *ND = dyn_cast<NamedDecl>(DUnderlying)) { in addedMember()
455 DUnderlying = ND->getUnderlyingDecl(); in addedMember()
457 dyn_cast<FunctionTemplateDecl>(DUnderlying)) in addedMember()
458 DUnderlying = UnderlyingFunTmpl->getTemplatedDecl(); in addedMember()
540 dyn_cast<CXXConstructorDecl>(DUnderlying)) { in addedMember()
/external/clang/lib/Sema/
DSemaLookup.cpp371 auto *DUnderlying = D->getUnderlyingDecl(); in isPreferredLookupResult() local
380 if (DUnderlying->getCanonicalDecl() != EUnderlying->getCanonicalDecl()) { in isPreferredLookupResult()
381 assert(isa<TypeDecl>(DUnderlying) && isa<TypeDecl>(EUnderlying)); in isPreferredLookupResult()
391 if (auto *DFD = dyn_cast<FunctionDecl>(DUnderlying)) { in isPreferredLookupResult()
403 if (auto *DTD = dyn_cast<TemplateDecl>(DUnderlying)) { in isPreferredLookupResult()
427 if (VarDecl *DVD = dyn_cast<VarDecl>(DUnderlying)) { in isPreferredLookupResult()
438 if (!isa<FunctionDecl>(DUnderlying) && !isa<VarDecl>(DUnderlying)) { in isPreferredLookupResult()
445 for (Decl *Prev = DUnderlying->getPreviousDecl(); Prev; in isPreferredLookupResult()