Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.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 …]
H A DSemaCUDA.cpp773 D = Using->getTargetDecl(); in maybeAddHostDeviceAttrs()
H A DSemaOverload.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()
H A DSemaDecl.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()
H A DSemaLookup.cpp3616 D = USD->getTargetDecl(); in LookupLiteralOperator()
3821 Underlying = USD->getTargetDecl(); in ArgumentDependentLookup()
H A DSemaCodeComplete.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()
H A DSemaTemplateInstantiateDecl.cpp3305 NamedDecl *OldTarget = Shadow->getTargetDecl(); in VisitBaseUsingDecls()
3312 dyn_cast<UnresolvedUsingIfExistsDecl>(Shadow->getTargetDecl())) { in VisitBaseUsingDecls()
H A DSemaDeclCXX.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()
H A DSemaTemplate.cpp295 assert(!FoundUsingShadow || FoundUsingShadow->getTargetDecl() == TD); in isTemplateName()
1958 Diag(Shadow->getTargetDecl()->getLocation(), in CheckClassTemplate()
H A DSemaInit.cpp4954 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
5884 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
H A DTreeTransform.h16213 if (SemaRef.DiagnoseUseOfDecl(Shadow->getTargetDecl(), Loc)) in RebuildUnresolvedUsingType()
16217 cast<TypeDecl>(Shadow->getTargetDecl()))); in RebuildUnresolvedUsingType()
H A DSemaOpenMP.cpp17897 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
17908 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
H A DSemaChecking.cpp8134 FDecl = dyn_cast<FunctionDecl>(UsingD->getTargetDecl()); in emitReplacement()
/freebsd/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.cpp1170 AddChild("target", [=] { Visit(USD->getTargetDecl()); }); in dumpBareTemplateName()
2650 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
2660 dumpBareDeclRef(D->getTargetDecl()); in VisitConstructorUsingShadowDecl()
H A DJSONNodeDumper.cpp916 JOS.attribute("target", createBareDeclRef(USD->getTargetDecl())); in VisitUsingShadowDecl()
H A DDecl.cpp1933 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl()
1950 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
H A DASTContext.cpp5102 cast<TypeDecl>(Found->getTargetDecl())->getTypeForDecl(); in getUsingType()
7141 return declaresSameEntity(USX->getTargetDecl(), USY->getTargetDecl()); in isSameEntity()
H A DType.cpp3885 cast<TypeDecl>(Found->getTargetDecl())->getTypeForDecl(), 0) in getUnderlyingType()
H A DASTImporter.cpp5223 Expected<NamedDecl *> ToTargetOrErr = import(D->getTargetDecl()); in VisitUsingShadowDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDelayedDiagnostic.h80 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3391 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() function
3699 : getTargetDecl()) in getConstructedBaseClass()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6700 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp1440 Record.AddDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp9311 clang::Decl *target = usd->getTargetDecl(); in DeclContextFindDeclByName()
9425 clang::Decl *target = usd->getTargetDecl(); in CountDeclLevels()

12