| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 336 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 D | SemaExprCXX.cpp | 193 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 D | SemaCXXScopeSpec.cpp | 354 SD = SD->getUnderlyingDecl(); in isAcceptableNestedNameSpecifier() 714 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
|
| H A D | SemaTemplate.cpp | 106 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 D | Sema.cpp | 2513 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall() 2597 const NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads() 2763 ND = ND->getUnderlyingDecl(); in isDeclaratorFunctionLike()
|
| H A D | SemaOverload.cpp | 970 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 D | SemaExprMember.cpp | 109 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess() 212 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
|
| H A D | SemaModule.cpp | 854 NamedDecl *Target = USD->getUnderlyingDecl(); in checkExportedDecl()
|
| H A D | SemaCodeComplete.cpp | 788 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 D | SemaAccess.cpp | 1323 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
|
| H A D | SemaTemplateDeduction.cpp | 201 X = NX->getUnderlyingDecl(); in isSameDeclaration() 203 Y = NY->getUnderlyingDecl(); in isSameDeclaration() 3908 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
|
| H A D | SemaPseudoObject.cpp | 1090 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
|
| H A D | SemaDecl.cpp | 517 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 D | SemaInit.cpp | 4167 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 D | Lookup.h | 566 return (*begin())->getUnderlyingDecl(); in getFoundDecl() 779 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in checkUnresolved()
|
| H A D | TypoCorrection.h | 153 return D ? D->getUnderlyingDecl() : nullptr; in getCorrectionDecl()
|
| H A D | Overload.h | 1221 auto *D = ND->getUnderlyingDecl(); in getConstructorInfo()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexDecl.cpp | 617 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 D | ASTNodeTraverser.h | 648 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
|
| H A D | Decl.h | 462 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function 472 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function 473 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
|
| H A D | DeclCXX.h | 3614 Target->getUnderlyingDecl()), in ConstructorUsingShadowDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 291 ND = ND->getUnderlyingDecl(); in getDeclShowContexts() 2051 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 725 DUnderlying = ND->getUnderlyingDecl(); in addedMember() 1706 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
|
| H A D | ExprCXX.cpp | 1538 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
|
| H A D | TypePrinter.cpp | 1135 printTypeSpec(T->getFoundDecl()->getUnderlyingDecl(), OS); in printUsingBefore()
|