Home
last modified time | relevance | path

Searched refs:getUnderlyingDecl (Results 1 – 25 of 37) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DMoveConstArgCheck.cpp176 ? ReceivingCallExpr->getDirectCallee()->getUnderlyingDecl() in check()
177 : ReceivingConstructExpr->getConstructor()->getUnderlyingDecl(); in check()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLookup.cpp334 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in checkDebugAssumptions()
375 auto *DUnderlying = D->getUnderlyingDecl(); in isPreferredLookupResult()
376 auto *EUnderlying = Existing->getUnderlyingDecl(); in isPreferredLookupResult()
473 D = D->getUnderlyingDecl(); in canHideTag()
493 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); in resolveKind()
518 NamedDecl *D = Decls[I]->getUnderlyingDecl(); in resolveKind()
609 if (isa<TagDecl>(Decls[UniqueTagIndex]->getUnderlyingDecl()) && in resolveKind()
2559 return ND->getUnderlyingDecl()->getCanonicalDecl(); in LookupQualifiedName()
4028 if (D->getUnderlyingDecl()->isFunctionOrFunctionTemplate() && in checkHidden()
4029 ND->getUnderlyingDecl()->isFunctionOrFunctionTemplate() && in checkHidden()
[all …]
H A DSemaExprCXX.cpp188 auto *Type = dyn_cast<TypeDecl>(D->getUnderlyingDecl()); in getDestructorName()
225 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in getDestructorName()
411 return isa<TypeDecl>(A->getUnderlyingDecl()) > in getDestructorName()
412 isa<TypeDecl>(B->getUnderlyingDecl()); in getDestructorName()
451 if (auto *TD = dyn_cast<TypeDecl>(FoundD->getUnderlyingDecl())) in getDestructorName()
2473 NamedDecl *D = (*Alloc)->getUnderlyingDecl(); in resolveAllocationOverload()
2826 Fn = cast<FunctionDecl>((*D)->getUnderlyingDecl()); in FindAllocationFunctions()
3239 Diag(D->getUnderlyingDecl()->getLocation(), in FindDeallocationFunction()
3755 NamedDecl *D = (*FnOvl)->getUnderlyingDecl(); in resolveBuiltinNewDeleteOverload()
5191 if (isa<FunctionTemplateDecl>(ND->getUnderlyingDecl())) in EvaluateUnaryTypeTrait()
[all …]
H A DSemaCXXScopeSpec.cpp333 SD = SD->getUnderlyingDecl(); in isAcceptableNestedNameSpecifier()
738 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
H A DSemaTemplate.cpp103 D = D->getUnderlyingDecl(); in getAsTemplateNameDecl()
166 isa<FunctionDecl>((*I)->getUnderlyingDecl())) in hasAnyAcceptableTemplateNames()
494 return isa<FunctionDecl>(ND->getUnderlyingDecl()); in LookupTemplateName()
559 Diag(ExampleLookupResult->getUnderlyingDecl()->getLocation(), in LookupTemplateName()
1798 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
1861 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
2510 D = D->getUnderlyingDecl(); in DeclareImplicitDeductionGuides()
9005 NamedDecl *D = F.next()->getUnderlyingDecl(); in CheckDependentFunctionTemplateSpecialization()
9073 NamedDecl *Ovl = (*I)->getUnderlyingDecl(); in CheckFunctionTemplateSpecialization()
9156 if (auto *OldFD = dyn_cast<FunctionDecl>(OldND->getUnderlyingDecl())) in CheckFunctionTemplateSpecialization()
[all …]
H A DSemaOverload.cpp5958 cast<CXXConversionDecl>(ViableConversions[I]->getUnderlyingDecl()); in diagnoseAmbiguousConversion()
5973 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in diagnoseNoViableConversion()
6012 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in recordConversion()
6157 NamedDecl *D = (*I)->getUnderlyingDecl(); in PerformContextualImplicitConversion()
6832 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddFunctionCandidates()
7706 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddNonMemberOperatorCandidates()
12279 NamedDecl *Fn = (*I)->getUnderlyingDecl(); in FindAllFunctionsThatMatchTargetTypeExactly()
12372 dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl())) in ComplainNoMatchesFound()
12522 auto *FD = dyn_cast<FunctionDecl>(I->getUnderlyingDecl()); in resolveAddressOfSingleOverloadCandidate()
12635 = cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()); in ResolveSingleFunctionTemplateSpecialization()
[all …]
H A DSemaExprMember.cpp106 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess()
206 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
H A DSemaModule.cpp861 NamedDecl *Target = USD->getUnderlyingDecl(); in checkExportedDecl()
H A DSemaCodeComplete.cpp766 ND = ND->getUnderlyingDecl(); in isInterestingDecl()
912 ND = ND->getUnderlyingDecl(); in getDeclUsageType()
1404 ND = ND->getUnderlyingDecl(); in IsOrdinaryName()
1422 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonTypeName()
1448 if (const auto *VD = dyn_cast<ValueDecl>(ND->getUnderlyingDecl())) in IsIntegralConstantValue()
1458 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonValueName()
1517 return isa<NamespaceDecl>(ND->getUnderlyingDecl()); in IsNamespaceOrAlias()
1522 ND = ND->getUnderlyingDecl(); in IsType()
1530 ND = ND->getUnderlyingDecl(); in IsMember()
H A DSema.cpp2424 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall()
2509 NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads()
H A DSemaAccess.cpp1313 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaTemplateDeduction.cpp199 X = NX->getUnderlyingDecl(); in isSameDeclaration()
201 Y = NY->getUnderlyingDecl(); in isSameDeclaration()
3660 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
H A DSemaPseudoObject.cpp1085 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DLookup.h546 return (*begin())->getUnderlyingDecl(); in getFoundDecl()
739 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in checkUnresolved()
H A DTypoCorrection.h153 return D ? D->getUnderlyingDecl() : nullptr; in getCorrectionDecl()
H A DOverload.h1200 auto *D = ND->getUnderlyingDecl(); in getConstructorInfo()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexDecl.cpp617 if (isa<UnresolvedUsingIfExistsDecl>(I->getUnderlyingDecl())) in VisitUsingDecl()
620 IndexCtx.handleReference(I->getUnderlyingDecl(), D->getLocation(), Parent, in VisitUsingDecl()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFindTarget.cpp189 add(S->getUnderlyingDecl(), Flags); in add()
195 add(NAD->getUnderlyingDecl(), Flags | Rel::Underlying); in add()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DMacroToEnumCheck.cpp552 TemplateFn->getUnderlyingDecl()->getBodyRBrace()}; in check()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTNodeTraverser.h636 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
H A DDecl.h457 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function
467 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function
468 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DASTUnit.cpp293 ND = ND->getUnderlyingDecl(); in getDeclShowContexts()
2006 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclCXX.cpp713 DUnderlying = ND->getUnderlyingDecl(); in addedMember()
1636 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
H A DExprCXX.cpp1452 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
H A DTypePrinter.cpp1083 printTypeSpec(T->getFoundDecl()->getUnderlyingDecl(), OS); in printUsingBefore()

12