Home
last modified time | relevance | path

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

12

/freebsd-14-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaAccess.cpp187 return (isMemberAccess() && getTargetDecl()->isCXXInstanceMember()); in isInstanceMember()
260 getTargetDecl()->isCXXInstanceMember()); in initialize()
265 DeclaringClass = FindDeclaringClass(getTargetDecl()); in initialize()
1066 NamedDecl *D = Target.getTargetDecl(); in TryDiagnoseProtectedAccess()
1118 NamedDecl *D = entity.getTargetDecl(); in diagnoseBadDirectAccess()
1185 NamedDecl *D = entity.getTargetDecl(); in DiagnoseAccessPath()
1276 S.Diag(entity.getTargetDecl()->getLocation(), in DiagnoseAccessPath()
1285 NamedDecl *D = (Entity.isMemberAccess() ? Entity.getTargetDecl() : nullptr); in DiagnoseBadAccess()
1319 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) in IsMicrosoftUsingDeclarationAccessBug()
1321 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
[all …]
HDSemaCUDA.cpp773 D = Using->getTargetDecl(); in maybeAddHostDeviceAttrs()
HDSemaOverload.cpp1187 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
3837 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
4926 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
6506 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates()
7369 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl(); in AddMethodCandidate()
8632 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in AddTypesConvertedFrom()
8704 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in CollectVRQualifiers()
13460 Callee = cast<UsingShadowDecl>(Callee)->getTargetDecl(); in AddOverloadedCallCandidate()
15331 Func = cast<UsingShadowDecl>(Func)->getTargetDecl(); in BuildCallToMemberFunction()
15619 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in BuildCallToObjectOfClassType()
HDSemaDecl.cpp535 assert(!FoundUsingShadow || FoundUsingShadow->getTargetDecl() == TD); in getTypeName()
1116 TD == cast<TemplateDecl>(FoundUsingShadow->getTargetDecl())); in ClassifyName()
3461 auto *Old = dyn_cast<ExpectedDecl>(OldS->getTargetDecl()); in checkUsingShadowRedecl()
3470 S.Diag(OldS->getTargetDecl()->getLocation(), diag::note_using_decl_target); in checkUsingShadowRedecl()
3543 Diag(Shadow->getTargetDecl()->getLocation(), in MergeFunctionDecl()
3557 OldD = Old = cast<FunctionTemplateDecl>(Shadow->getTargetDecl()) in MergeFunctionDecl()
3562 OldD = Old = cast<FunctionDecl>(Shadow->getTargetDecl()); in MergeFunctionDecl()
17473 Diag(Shadow->getTargetDecl()->getLocation(), in ActOnTag()
HDSemaLookup.cpp3616 D = USD->getTargetDecl(); in LookupLiteralOperator()
3821 Underlying = USD->getTargetDecl(); in ArgumentDependentLookup()
HDSemaCodeComplete.cpp1126 CodeCompletionResult Result(Using->getTargetDecl(), in MaybeAddResult()
1127 getBasePriority(Using->getTargetDecl()), in MaybeAddResult()
1363 CodeCompletionResult Result(Using->getTargetDecl(), in AddResult()
1364 getBasePriority(Using->getTargetDecl()), in AddResult()
HDSemaTemplateInstantiateDecl.cpp3305 NamedDecl *OldTarget = Shadow->getTargetDecl(); in VisitBaseUsingDecls()
3312 dyn_cast<UnresolvedUsingIfExistsDecl>(Shadow->getTargetDecl())) { in VisitBaseUsingDecls()
HDSemaDeclCXX.cpp7272 << Shadow->getTargetDecl(); in InheritedConstructorInfo()
10296 ND = shad->getTargetDecl(); in FindHiddenVirtualMethods()
12401 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
12532 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
13153 EC = dyn_cast<EnumConstantDecl>(UD->shadow_begin()->getTargetDecl()); in CheckUsingDeclQualifier()
HDSemaTemplate.cpp295 assert(!FoundUsingShadow || FoundUsingShadow->getTargetDecl() == TD); in isTemplateName()
1958 Diag(Shadow->getTargetDecl()->getLocation(), in CheckClassTemplate()
HDSemaInit.cpp4954 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
5884 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
HDTreeTransform.h16213 if (SemaRef.DiagnoseUseOfDecl(Shadow->getTargetDecl(), Loc)) in RebuildUnresolvedUsingType()
16217 cast<TypeDecl>(Shadow->getTargetDecl()))); in RebuildUnresolvedUsingType()
HDSemaOpenMP.cpp17897 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
17908 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
/freebsd-14-stable/contrib/llvm-project/clang/lib/AST/
HDTemplateName.cpp148 return cast<TemplateDecl>(USD->getTargetDecl()); in getAsTemplateDecl()
161 return cast<TemplateDecl>(USD->getTargetDecl()); in getAsTemplateDecl()
HDTextNodeDumper.cpp1170 AddChild("target", [=] { Visit(USD->getTargetDecl()); }); in dumpBareTemplateName()
2650 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
2660 dumpBareDeclRef(D->getTargetDecl()); in VisitConstructorUsingShadowDecl()
HDJSONNodeDumper.cpp916 JOS.attribute("target", createBareDeclRef(USD->getTargetDecl())); in VisitUsingShadowDecl()
HDDecl.cpp1933 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl()
1950 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
HDASTContext.cpp5102 cast<TypeDecl>(Found->getTargetDecl())->getTypeForDecl(); in getUsingType()
7141 return declaresSameEntity(USX->getTargetDecl(), USY->getTargetDecl()); in isSameEntity()
HDType.cpp3885 cast<TypeDecl>(Found->getTargetDecl())->getTypeForDecl(), 0) in getUnderlyingType()
HDASTImporter.cpp5223 Expected<NamedDecl *> ToTargetOrErr = import(D->getTargetDecl()); in VisitUsingShadowDecl()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
HDUSRLocFinder.cpp274 Decl = UsingShadow->getTargetDecl(); in VisitDeclRefExpr()
345 if (isInUSRSet(UsingShadow->getTargetDecl())) { in VisitUsingDecl()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/Sema/
HDDelayedDiagnostic.h80 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/AST/
HDDeclCXX.h3391 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() function
3699 : getTargetDecl()) in getConstructedBaseClass()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
HDASTMatchers.h6700 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Serialization/
HDASTWriterDecl.cpp1440 Record.AddDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
/freebsd-14-stable/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
HDTypeSystemClang.cpp9311 clang::Decl *target = usd->getTargetDecl(); in DeclContextFindDeclByName()
9425 clang::Decl *target = usd->getTargetDecl(); in CountDeclLevels()

12