Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp333 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in sanity()
374 auto *DUnderlying = D->getUnderlyingDecl(); in isPreferredLookupResult()
375 auto *EUnderlying = Existing->getUnderlyingDecl(); in isPreferredLookupResult()
472 D = D->getUnderlyingDecl(); in canHideTag()
492 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); in resolveKind()
517 NamedDecl *D = Decls[I]->getUnderlyingDecl(); in resolveKind()
608 if (isa<TagDecl>(Decls[UniqueTagIndex]->getUnderlyingDecl()) && in resolveKind()
2303 return ND->getUnderlyingDecl()->getCanonicalDecl(); in LookupQualifiedName()
3727 if (D->getUnderlyingDecl()->isFunctionOrFunctionTemplate() && in checkHidden()
3728 ND->getUnderlyingDecl()->isFunctionOrFunctionTemplate() && in checkHidden()
[all …]
H A DSemaExprCXX.cpp185 auto *Type = dyn_cast<TypeDecl>(D->getUnderlyingDecl()); in getDestructorName()
222 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in getDestructorName()
408 return isa<TypeDecl>(A->getUnderlyingDecl()) > in getDestructorName()
409 isa<TypeDecl>(B->getUnderlyingDecl()); in getDestructorName()
448 if (auto *TD = dyn_cast<TypeDecl>(FoundD->getUnderlyingDecl())) in getDestructorName()
2435 NamedDecl *D = (*Alloc)->getUnderlyingDecl(); in resolveAllocationOverload()
2789 Fn = cast<FunctionDecl>((*D)->getUnderlyingDecl()); in FindAllocationFunctions()
3193 Diag(D->getUnderlyingDecl()->getLocation(), in FindDeallocationFunction()
3709 NamedDecl *D = (*FnOvl)->getUnderlyingDecl(); in resolveBuiltinNewDeleteOverload()
5128 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 DSemaModule.cpp662 NamedDecl *Target = USD->getUnderlyingDecl(); in checkExportedDecl()
H A DSemaTemplate.cpp100 D = D->getUnderlyingDecl(); in getAsTemplateNameDecl()
163 isa<FunctionDecl>((*I)->getUnderlyingDecl())) in hasAnyAcceptableTemplateNames()
490 return isa<FunctionDecl>(ND->getUnderlyingDecl()); in LookupTemplateName()
555 Diag(ExampleLookupResult->getUnderlyingDecl()->getLocation(), in LookupTemplateName()
1793 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
1856 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
2505 D = D->getUnderlyingDecl(); in DeclareImplicitDeductionGuides()
8903 NamedDecl *D = F.next()->getUnderlyingDecl(); in CheckDependentFunctionTemplateSpecialization()
8971 NamedDecl *Ovl = (*I)->getUnderlyingDecl(); in CheckFunctionTemplateSpecialization()
9054 if (auto *OldFD = dyn_cast<FunctionDecl>(OldND->getUnderlyingDecl())) in CheckFunctionTemplateSpecialization()
[all …]
H A DSemaOverload.cpp5896 cast<CXXConversionDecl>(ViableConversions[I]->getUnderlyingDecl()); in diagnoseAmbiguousConversion()
5911 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in diagnoseNoViableConversion()
5950 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in recordConversion()
6095 NamedDecl *D = (*I)->getUnderlyingDecl(); in PerformContextualImplicitConversion()
6748 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddFunctionCandidates()
7621 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddNonMemberOperatorCandidates()
12109 NamedDecl *Fn = (*I)->getUnderlyingDecl(); in FindAllFunctionsThatMatchTargetTypeExactly()
12201 dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl())) in ComplainNoMatchesFound()
12351 auto *FD = dyn_cast<FunctionDecl>(I->getUnderlyingDecl()); in resolveAddressOfSingleOverloadCandidate()
12464 = cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()); in ResolveSingleFunctionTemplateSpecialization()
[all …]
H A DSemaExprMember.cpp106 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess()
205 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
H A DSemaCodeComplete.cpp765 ND = ND->getUnderlyingDecl(); in isInterestingDecl()
911 ND = ND->getUnderlyingDecl(); in getDeclUsageType()
1399 ND = ND->getUnderlyingDecl(); in IsOrdinaryName()
1417 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonTypeName()
1443 if (const auto *VD = dyn_cast<ValueDecl>(ND->getUnderlyingDecl())) in IsIntegralConstantValue()
1453 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonValueName()
1512 return isa<NamespaceDecl>(ND->getUnderlyingDecl()); in IsNamespaceOrAlias()
1517 ND = ND->getUnderlyingDecl(); in IsType()
1525 ND = ND->getUnderlyingDecl(); in IsMember()
H A DSema.cpp2317 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall()
2402 NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads()
H A DSemaAccess.cpp1313 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaTemplateDeduction.cpp213 X = NX->getUnderlyingDecl(); in isSameDeclaration()
215 Y = NY->getUnderlyingDecl(); in isSameDeclaration()
3785 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
H A DSemaPseudoObject.cpp1085 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
H A DSemaInit.cpp4004 D = D->getUnderlyingDecl(); in ResolveConstructorOverload()
10044 NamedDecl *D = (*I)->getUnderlyingDecl(); in DeduceTemplateSpecializationFromInitializer()
10118 auto *FD = dyn_cast<FunctionDecl>(D->getUnderlyingDecl()); in DeduceTemplateSpecializationFromInitializer()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DLookup.h520 return (*begin())->getUnderlyingDecl(); in getFoundDecl()
714 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in sanityCheckUnresolved()
H A DTypoCorrection.h153 return D ? D->getUnderlyingDecl() : nullptr; in getCorrectionDecl()
H A DOverload.h1177 auto *D = ND->getUnderlyingDecl(); in getConstructorInfo()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DASTNodeTraverser.h629 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
H A DDecl.h459 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function
469 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function
470 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
H A DDeclCXX.h3486 Target->getUnderlyingDecl()), in ConstructorUsingShadowDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp599 IndexCtx.handleReference(I->getUnderlyingDecl(), D->getLocation(), Parent, in VisitUsingDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp293 ND = ND->getUnderlyingDecl(); in getDeclShowContexts()
2004 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp712 DUnderlying = ND->getUnderlyingDecl(); in addedMember()
1621 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
H A DExprCXX.cpp1448 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3581 const NamedDecl *UnderlyingDecl = Node.getUnderlyingDecl(); in AST_MATCHER_P()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp715 NamedDecl *ND = C->getUnderlyingDecl(); in ValidateCandidate()

12