Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp336 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in checkDebugAssumptions()
378 const auto *DUnderlying = D->getUnderlyingDecl(); in isPreferredLookupResult()
379 const auto *EUnderlying = Existing->getUnderlyingDecl(); in isPreferredLookupResult()
476 D = D->getUnderlyingDecl(); in canHideTag()
496 const NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); in resolveKind()
520 const NamedDecl *D = Decls[I]->getUnderlyingDecl(); in resolveKind()
2574 return ND->getUnderlyingDecl()->getCanonicalDecl(); in LookupQualifiedName()
3788 NoteOverloadCandidate(D, D->getUnderlyingDecl()->getAsFunction()); in LookupLiteralOperator()
4059 if (D->getUnderlyingDecl()->isFunctionOrFunctionTemplate() && in checkHidden()
4060 ND->getUnderlyingDecl()->isFunctionOrFunctionTemplate() && in checkHidden()
[all …]
H A DSemaExprCXX.cpp193 auto *Type = dyn_cast<TypeDecl>(D->getUnderlyingDecl()); in getDestructorName()
230 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in getDestructorName()
417 return isa<TypeDecl>(A->getUnderlyingDecl()) > in getDestructorName()
418 isa<TypeDecl>(B->getUnderlyingDecl()); in getDestructorName()
457 if (auto *TD = dyn_cast<TypeDecl>(FoundD->getUnderlyingDecl())) in getDestructorName()
2535 NamedDecl *D = (*Alloc)->getUnderlyingDecl(); in resolveAllocationOverload()
2889 Fn = cast<FunctionDecl>((*D)->getUnderlyingDecl()); in FindAllocationFunctions()
3352 Diag(D->getUnderlyingDecl()->getLocation(), in FindDeallocationFunction()
3868 NamedDecl *D = (*FnOvl)->getUnderlyingDecl(); in resolveBuiltinNewDeleteOverload()
5376 if (isa<FunctionTemplateDecl>(ND->getUnderlyingDecl())) in EvaluateUnaryTypeTrait()
[all …]
H A DSemaCXXScopeSpec.cpp354 SD = SD->getUnderlyingDecl(); in isAcceptableNestedNameSpecifier()
714 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
H A DSemaTemplate.cpp106 D = D->getUnderlyingDecl(); in getAsTemplateNameDecl()
168 isa<FunctionDecl>((*I)->getUnderlyingDecl())) in hasAnyAcceptableTemplateNames()
496 return isa<FunctionDecl>(ND->getUnderlyingDecl()); in LookupTemplateName()
561 Diag(ExampleLookupResult->getUnderlyingDecl()->getLocation(), in LookupTemplateName()
1937 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
2000 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
2768 D = D->getUnderlyingDecl(); in DeclareImplicitDeductionGuides()
9561 NamedDecl *D = F.next()->getUnderlyingDecl(); in CheckDependentFunctionTemplateSpecialization()
9630 NamedDecl *Ovl = (*I)->getUnderlyingDecl(); in CheckFunctionTemplateSpecialization()
9713 if (auto *OldFD = dyn_cast<FunctionDecl>(OldND->getUnderlyingDecl())) in CheckFunctionTemplateSpecialization()
[all …]
H A DSema.cpp2513 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall()
2597 const NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads()
2763 ND = ND->getUnderlyingDecl(); in isDeclaratorFunctionLike()
H A DSemaOverload.cpp970 NotEqFD = UD->getUnderlyingDecl()->getAsFunction(); in shouldAddReversedEqEq()
6393 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in diagnoseNoViableConversion()
6432 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in recordConversion()
6579 NamedDecl *D = (*I)->getUnderlyingDecl(); in PerformContextualImplicitConversion()
7258 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddFunctionCandidates()
8201 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddNonMemberOperatorCandidates()
12900 NamedDecl *Fn = (*I)->getUnderlyingDecl(); in FindAllFunctionsThatMatchTargetTypeExactly()
12993 dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl())) in ComplainNoMatchesFound()
13154 auto *FD = dyn_cast<FunctionDecl>(I->getUnderlyingDecl()); in resolveAddressOfSingleOverloadCandidate()
13294 = cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()); in ResolveSingleFunctionTemplateSpecialization()
[all …]
H A DSemaExprMember.cpp109 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess()
212 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
H A DSemaModule.cpp854 NamedDecl *Target = USD->getUnderlyingDecl(); in checkExportedDecl()
H A DSemaCodeComplete.cpp788 ND = ND->getUnderlyingDecl(); in isInterestingDecl()
934 ND = ND->getUnderlyingDecl(); in getDeclUsageType()
1492 ND = ND->getUnderlyingDecl(); in IsOrdinaryName()
1510 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonTypeName()
1536 if (const auto *VD = dyn_cast<ValueDecl>(ND->getUnderlyingDecl())) in IsIntegralConstantValue()
1546 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonValueName()
1606 return isa<NamespaceDecl>(ND->getUnderlyingDecl()); in IsNamespaceOrAlias()
1611 ND = ND->getUnderlyingDecl(); in IsType()
1619 ND = ND->getUnderlyingDecl(); in IsMember()
H A DSemaAccess.cpp1323 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaTemplateDeduction.cpp201 X = NX->getUnderlyingDecl(); in isSameDeclaration()
203 Y = NY->getUnderlyingDecl(); in isSameDeclaration()
3908 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
H A DSemaPseudoObject.cpp1090 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
H A DSemaDecl.cpp517 NamedDecl *RealRes = (*Res)->getUnderlyingDecl(); in getTypeName()
1215 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName()
1264 FirstDecl->getUnderlyingDecl()->isFunctionOrFunctionTemplate())) && in ClassifyName()
1313 if (auto *Ivar = dyn_cast<ObjCIvarDecl>(Found->getUnderlyingDecl())) in ActOnNameClassifiedAsNonType()
5424 NamedDecl *PrevDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); in CheckAnonMemberRedeclaration()
15992 if (!RD || !RD->getUnderlyingDecl()->hasAttr<CoroReturnTypeAttr>()) in CheckCoroutineWrapper()
H A DSemaInit.cpp4167 D = D->getUnderlyingDecl(); in ResolveConstructorOverload()
10798 NamedDecl *D = (*I)->getUnderlyingDecl(); in DeduceTemplateSpecializationFromInitializer()
10852 auto *FD = dyn_cast<FunctionDecl>(D->getUnderlyingDecl()); in DeduceTemplateSpecializationFromInitializer()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DLookup.h566 return (*begin())->getUnderlyingDecl(); in getFoundDecl()
779 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in checkUnresolved()
H A DTypoCorrection.h153 return D ? D->getUnderlyingDecl() : nullptr; in getCorrectionDecl()
H A DOverload.h1221 auto *D = ND->getUnderlyingDecl(); in getConstructorInfo()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp617 if (isa<UnresolvedUsingIfExistsDecl>(I->getUnderlyingDecl())) in VisitUsingDecl()
620 IndexCtx.handleReference(I->getUnderlyingDecl(), D->getLocation(), Parent, in VisitUsingDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTNodeTraverser.h648 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
H A DDecl.h462 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function
472 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function
473 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
H A DDeclCXX.h3614 Target->getUnderlyingDecl()), in ConstructorUsingShadowDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp291 ND = ND->getUnderlyingDecl(); in getDeclShowContexts()
2051 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp725 DUnderlying = ND->getUnderlyingDecl(); in addedMember()
1706 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
H A DExprCXX.cpp1538 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
H A DTypePrinter.cpp1135 printTypeSpec(T->getFoundDecl()->getUnderlyingDecl(), OS); in printUsingBefore()

12