Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp189 return (isMemberAccess() && getTargetDecl()->isCXXInstanceMember()); in isInstanceMember()
252 getTargetDecl()->isCXXInstanceMember()); in initialize()
257 DeclaringClass = FindDeclaringClass(getTargetDecl()); in initialize()
1058 NamedDecl *D = Target.getTargetDecl(); in TryDiagnoseProtectedAccess()
1110 NamedDecl *D = entity.getTargetDecl(); in diagnoseBadDirectAccess()
1177 NamedDecl *D = entity.getTargetDecl(); in DiagnoseAccessPath()
1268 S.Diag(entity.getTargetDecl()->getLocation(), in DiagnoseAccessPath()
1311 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) in IsMicrosoftUsingDeclarationAccessBug()
1314 if (Entity.getTargetDecl()->getAccess() == AS_private && in IsMicrosoftUsingDeclarationAccessBug()
1367 NamedDecl *Target = Entity.getTargetDecl(); in IsAccessible()
[all …]
H A DSemaCUDA.cpp681 D = Using->getTargetDecl(); in maybeAddCUDAHostDeviceAttrs()
H A DSemaOverload.cpp1045 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
3521 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
4625 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
5993 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates()
6820 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl(); in AddMethodCandidate()
8039 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in AddTypesConvertedFrom()
8111 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in CollectVRQualifiers()
12602 Callee = cast<UsingShadowDecl>(Callee)->getTargetDecl(); in AddOverloadedCallCandidate()
14281 Func = cast<UsingShadowDecl>(Func)->getTargetDecl(); in BuildCallToMemberFunction()
14526 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in BuildCallToObjectOfClassType()
H A DSemaCodeComplete.cpp1096 CodeCompletionResult Result(Using->getTargetDecl(), in MaybeAddResult()
1097 getBasePriority(Using->getTargetDecl()), in MaybeAddResult()
1269 CodeCompletionResult Result(Using->getTargetDecl(), in AddResult()
1270 getBasePriority(Using->getTargetDecl()), in AddResult()
H A DSemaLookup.cpp3397 D = USD->getTargetDecl(); in LookupLiteralOperator()
3596 Underlying = USD->getTargetDecl(); in ArgumentDependentLookup()
H A DSemaDecl.cpp3193 auto *Old = dyn_cast<ExpectedDecl>(OldS->getTargetDecl()); in checkUsingShadowRedecl()
3202 S.Diag(OldS->getTargetDecl()->getLocation(), diag::note_using_decl_target); in checkUsingShadowRedecl()
3286 Diag(Shadow->getTargetDecl()->getLocation(), in MergeFunctionDecl()
3300 OldD = Old = cast<FunctionTemplateDecl>(Shadow->getTargetDecl()) in MergeFunctionDecl()
3305 OldD = Old = cast<FunctionDecl>(Shadow->getTargetDecl()); in MergeFunctionDecl()
15973 Diag(Shadow->getTargetDecl()->getLocation(), in ActOnTag()
H A DSemaTemplateInstantiateDecl.cpp3071 NamedDecl *OldTarget = Shadow->getTargetDecl(); in VisitBaseUsingDecls()
3078 dyn_cast<UnresolvedUsingIfExistsDecl>(Shadow->getTargetDecl())) { in VisitBaseUsingDecls()
H A DSemaDeclCXX.cpp7032 << Shadow->getTargetDecl(); in InheritedConstructorInfo()
9812 ND = shad->getTargetDecl(); in FindHiddenVirtualMethods()
11740 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
11872 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
12537 EC = dyn_cast<EnumConstantDecl>(UD->shadow_begin()->getTargetDecl()); in CheckUsingDeclQualifier()
H A DSemaInit.cpp4624 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
5298 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
H A DSemaTemplate.cpp1871 Diag(Shadow->getTargetDecl()->getLocation(), in CheckClassTemplate()
H A DSemaOpenMP.cpp16404 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
16415 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
H A DSemaChecking.cpp9842 FDecl = dyn_cast<FunctionDecl>(UsingD->getTargetDecl()); in emitReplacement()
H A DTreeTransform.h14427 NamedDecl *Target = Using->shadow_begin()->getTargetDecl(); in RebuildUnresolvedUsingType()
H A DSemaExpr.cpp3105 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in UseArgumentDependentLookup()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp273 Decl = UsingShadow->getTargetDecl(); in VisitDeclRefExpr()
344 if (isInUSRSet(UsingShadow->getTargetDecl())) { in VisitUsingDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DDelayedDiagnostic.h80 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DTextNodeDumper.cpp2132 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
2142 dumpBareDeclRef(D->getTargetDecl()); in VisitConstructorUsingShadowDecl()
H A DJSONNodeDumper.cpp799 JOS.attribute("target", createBareDeclRef(USD->getTargetDecl())); in VisitUsingShadowDecl()
H A DDecl.cpp1817 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl()
1834 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
H A DASTImporter.cpp4734 Expected<NamedDecl *> ToTargetOrErr = import(D->getTargetDecl()); in VisitUsingShadowDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3250 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() function
3557 : getTargetDecl()) in getConstructedBaseClass()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp3248 return USX->getTargetDecl() == USY->getTargetDecl(); in isSameEntity()
H A DASTWriterDecl.cpp1304 Record.AddDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6233 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp9413 clang::Decl *target = usd->getTargetDecl(); in DeclContextFindDeclByName()
9528 clang::Decl *target = usd->getTargetDecl(); in CountDeclLevels()