Home
last modified time | relevance | path

Searched refs:getTargetDecl (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp189 return (isMemberAccess() && getTargetDecl()->isCXXInstanceMember()); in isInstanceMember()
262 getTargetDecl()->isCXXInstanceMember()); in initialize()
267 DeclaringClass = FindDeclaringClass(getTargetDecl()); in initialize()
1068 NamedDecl *D = Target.getTargetDecl(); in TryDiagnoseProtectedAccess()
1120 NamedDecl *D = entity.getTargetDecl(); in diagnoseBadDirectAccess()
1187 NamedDecl *D = entity.getTargetDecl(); in DiagnoseAccessPath()
1278 S.Diag(entity.getTargetDecl()->getLocation(), in DiagnoseAccessPath()
1321 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) in IsMicrosoftUsingDeclarationAccessBug()
1324 if (Entity.getTargetDecl()->getAccess() == AS_private && in IsMicrosoftUsingDeclarationAccessBug()
1377 NamedDecl *Target = Entity.getTargetDecl(); in IsAccessible()
[all …]
H A DSemaCUDA.cpp756 D = Using->getTargetDecl(); in maybeAddCUDAHostDeviceAttrs()
H A DSemaOverload.cpp1142 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
3803 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
4899 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
6475 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates()
7330 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl(); in AddMethodCandidate()
8623 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in AddTypesConvertedFrom()
8695 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in CollectVRQualifiers()
13431 Callee = cast<UsingShadowDecl>(Callee)->getTargetDecl(); in AddOverloadedCallCandidate()
15323 Func = cast<UsingShadowDecl>(Func)->getTargetDecl(); in BuildCallToMemberFunction()
15615 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in BuildCallToObjectOfClassType()
H A DSemaDecl.cpp583 assert(!FoundUsingShadow || FoundUsingShadow->getTargetDecl() == TD); in getTypeName()
1181 TD == cast<TemplateDecl>(FoundUsingShadow->getTargetDecl())); in ClassifyName()
3604 auto *Old = dyn_cast<ExpectedDecl>(OldS->getTargetDecl()); in checkUsingShadowRedecl()
3613 S.Diag(OldS->getTargetDecl()->getLocation(), diag::note_using_decl_target); in checkUsingShadowRedecl()
3697 Diag(Shadow->getTargetDecl()->getLocation(), in MergeFunctionDecl()
3711 OldD = Old = cast<FunctionTemplateDecl>(Shadow->getTargetDecl()) in MergeFunctionDecl()
3716 OldD = Old = cast<FunctionDecl>(Shadow->getTargetDecl()); in MergeFunctionDecl()
17668 Diag(Shadow->getTargetDecl()->getLocation(), in ActOnTag()
H A DSemaLookup.cpp3682 D = USD->getTargetDecl(); in LookupLiteralOperator()
3887 Underlying = USD->getTargetDecl(); in ArgumentDependentLookup()
H A DSemaCodeComplete.cpp1119 CodeCompletionResult Result(Using->getTargetDecl(), in MaybeAddResult()
1120 getBasePriority(Using->getTargetDecl()), in MaybeAddResult()
1356 CodeCompletionResult Result(Using->getTargetDecl(), in AddResult()
1357 getBasePriority(Using->getTargetDecl()), in AddResult()
H A DSemaTemplateInstantiateDecl.cpp3259 NamedDecl *OldTarget = Shadow->getTargetDecl(); in VisitBaseUsingDecls()
3266 dyn_cast<UnresolvedUsingIfExistsDecl>(Shadow->getTargetDecl())) { in VisitBaseUsingDecls()
H A DSemaDeclCXX.cpp7390 << Shadow->getTargetDecl(); in InheritedConstructorInfo()
10388 ND = shad->getTargetDecl(); in FindHiddenVirtualMethods()
12487 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
12619 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
13285 EC = dyn_cast<EnumConstantDecl>(UD->shadow_begin()->getTargetDecl()); in CheckUsingDeclQualifier()
H A DSemaInit.cpp4817 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
5743 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
H A DSemaTemplate.cpp292 assert(!FoundUsingShadow || FoundUsingShadow->getTargetDecl() == TD); in isTemplateName()
2015 Diag(Shadow->getTargetDecl()->getLocation(), in CheckClassTemplate()
H A DTreeTransform.h15180 if (SemaRef.DiagnoseUseOfDecl(Shadow->getTargetDecl(), Loc)) in RebuildUnresolvedUsingType()
15184 cast<TypeDecl>(Shadow->getTargetDecl()))); in RebuildUnresolvedUsingType()
H A DSemaOpenMP.cpp19097 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
19108 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DTemplateName.cpp148 return cast<TemplateDecl>(USD->getTargetDecl()); in getAsTemplateDecl()
161 return cast<TemplateDecl>(USD->getTargetDecl()); in getAsTemplateDecl()
H A DTextNodeDumper.cpp2399 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
2409 dumpBareDeclRef(D->getTargetDecl()); in VisitConstructorUsingShadowDecl()
H A DJSONNodeDumper.cpp884 JOS.attribute("target", createBareDeclRef(USD->getTargetDecl())); in VisitUsingShadowDecl()
H A DDecl.cpp1948 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl()
1965 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
H A DASTContext.cpp4687 cast<TypeDecl>(Found->getTargetDecl())->getTypeForDecl(); in getUsingType()
6692 return USX->getTargetDecl() == USY->getTargetDecl(); in isSameEntity()
H A DType.cpp3736 cast<TypeDecl>(Found->getTargetDecl())->getTypeForDecl(), 0) in getUnderlyingType()
H A DASTImporter.cpp5139 Expected<NamedDecl *> ToTargetOrErr = import(D->getTargetDecl()); in VisitUsingShadowDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp274 Decl = UsingShadow->getTargetDecl(); in VisitDeclRefExpr()
345 if (isInUSRSet(UsingShadow->getTargetDecl())) { in VisitUsingDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DDelayedDiagnostic.h80 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3377 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() function
3685 : getTargetDecl()) in getConstructedBaseClass()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6676 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp1402 Record.AddDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp9112 clang::Decl *target = usd->getTargetDecl(); in DeclContextFindDeclByName()
9227 clang::Decl *target = usd->getTargetDecl(); in CountDeclLevels()

12