/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaAccess.cpp | 187 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 D | SemaCUDA.cpp | 773 D = Using->getTargetDecl(); in maybeAddHostDeviceAttrs()
|
H A D | SemaOverload.cpp | 1187 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 D | SemaDecl.cpp | 535 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 D | SemaLookup.cpp | 3616 D = USD->getTargetDecl(); in LookupLiteralOperator() 3821 Underlying = USD->getTargetDecl(); in ArgumentDependentLookup()
|
H A D | SemaCodeComplete.cpp | 1126 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 D | SemaTemplateInstantiateDecl.cpp | 3305 NamedDecl *OldTarget = Shadow->getTargetDecl(); in VisitBaseUsingDecls() 3312 dyn_cast<UnresolvedUsingIfExistsDecl>(Shadow->getTargetDecl())) { in VisitBaseUsingDecls()
|
H A D | SemaDeclCXX.cpp | 7272 << 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 D | SemaTemplate.cpp | 295 assert(!FoundUsingShadow || FoundUsingShadow->getTargetDecl() == TD); in isTemplateName() 1958 Diag(Shadow->getTargetDecl()->getLocation(), in CheckClassTemplate()
|
H A D | SemaInit.cpp | 4954 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction() 5884 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
|
H A D | TreeTransform.h | 16213 if (SemaRef.DiagnoseUseOfDecl(Shadow->getTargetDecl(), Loc)) in RebuildUnresolvedUsingType() 16217 cast<TypeDecl>(Shadow->getTargetDecl()))); in RebuildUnresolvedUsingType()
|
H A D | SemaOpenMP.cpp | 17897 Underlying = USD->getTargetDecl(); in argumentDependentLookup() 17908 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
|
H A D | SemaChecking.cpp | 8134 FDecl = dyn_cast<FunctionDecl>(UsingD->getTargetDecl()); in emitReplacement()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | TemplateName.cpp | 148 return cast<TemplateDecl>(USD->getTargetDecl()); in getAsTemplateDecl() 161 return cast<TemplateDecl>(USD->getTargetDecl()); in getAsTemplateDecl()
|
H A D | TextNodeDumper.cpp | 1170 AddChild("target", [=] { Visit(USD->getTargetDecl()); }); in dumpBareTemplateName() 2650 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl() 2660 dumpBareDeclRef(D->getTargetDecl()); in VisitConstructorUsingShadowDecl()
|
H A D | JSONNodeDumper.cpp | 916 JOS.attribute("target", createBareDeclRef(USD->getTargetDecl())); in VisitUsingShadowDecl()
|
H A D | Decl.cpp | 1933 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl() 1950 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
|
H A D | ASTContext.cpp | 5102 cast<TypeDecl>(Found->getTargetDecl())->getTypeForDecl(); in getUsingType() 7141 return declaresSameEntity(USX->getTargetDecl(), USY->getTargetDecl()); in isSameEntity()
|
H A D | Type.cpp | 3885 cast<TypeDecl>(Found->getTargetDecl())->getTypeForDecl(), 0) in getUnderlyingType()
|
H A D | ASTImporter.cpp | 5223 Expected<NamedDecl *> ToTargetOrErr = import(D->getTargetDecl()); in VisitUsingShadowDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | DelayedDiagnostic.h | 80 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclCXX.h | 3391 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() function 3699 : getTargetDecl()) in getConstructedBaseClass()
|
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 6700 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriterDecl.cpp | 1440 Record.AddDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
H A D | TypeSystemClang.cpp | 9311 clang::Decl *target = usd->getTargetDecl(); in DeclContextFindDeclByName() 9425 clang::Decl *target = usd->getTargetDecl(); in CountDeclLevels()
|