Home
last modified time | relevance | path

Searched refs:DUnderlying (Results 1 – 4 of 4) 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()
/external/llvm-project/clang/lib/AST/
DDeclCXX.cpp704 Decl *DUnderlying = D; in addedMember() local
705 if (auto *ND = dyn_cast<NamedDecl>(DUnderlying)) { in addedMember()
706 DUnderlying = ND->getUnderlyingDecl(); in addedMember()
707 if (auto *UnderlyingFunTmpl = dyn_cast<FunctionTemplateDecl>(DUnderlying)) in addedMember()
708 DUnderlying = UnderlyingFunTmpl->getTemplatedDecl(); in addedMember()
808 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(DUnderlying)) { in addedMember()
/external/llvm-project/clang/lib/Sema/
DSemaLookup.cpp374 auto *DUnderlying = D->getUnderlyingDecl(); in isPreferredLookupResult() local
385 if (DUnderlying->getCanonicalDecl() != EUnderlying->getCanonicalDecl()) { in isPreferredLookupResult()
386 assert(isa<TypeDecl>(DUnderlying) && isa<TypeDecl>(EUnderlying)); in isPreferredLookupResult()
397 if (auto *DFD = dyn_cast<FunctionDecl>(DUnderlying)) { in isPreferredLookupResult()
409 if (auto *DTD = dyn_cast<TemplateDecl>(DUnderlying)) { in isPreferredLookupResult()
433 if (VarDecl *DVD = dyn_cast<VarDecl>(DUnderlying)) { in isPreferredLookupResult()
444 if (!isa<FunctionDecl>(DUnderlying) && !isa<VarDecl>(DUnderlying)) { in isPreferredLookupResult()
451 for (Decl *Prev = DUnderlying->getPreviousDecl(); Prev; in isPreferredLookupResult()