Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaAccess.cpp177 return (isMemberAccess() && getTargetDecl()->isCXXInstanceMember()); in isInstanceMember()
240 getTargetDecl()->isCXXInstanceMember()); in initialize()
245 DeclaringClass = FindDeclaringClass(getTargetDecl()); in initialize()
1046 NamedDecl *D = Target.getTargetDecl(); in TryDiagnoseProtectedAccess()
1098 NamedDecl *D = entity.getTargetDecl(); in diagnoseBadDirectAccess()
1165 NamedDecl *D = entity.getTargetDecl(); in DiagnoseAccessPath()
1256 S.Diag(entity.getTargetDecl()->getLocation(), in DiagnoseAccessPath()
1300 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
1301 if (Entity.getTargetDecl()->getAccess() == AS_private && in IsMicrosoftUsingDeclarationAccessBug()
1354 NamedDecl *Target = Entity.getTargetDecl(); in IsAccessible()
[all …]
H A DSemaCUDA.cpp562 D = Using->getTargetDecl(); in maybeAddCUDAHostDeviceAttrs()
H A DSemaOverload.cpp980 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
3422 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
4406 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
5722 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates()
6529 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl(); in AddMethodCandidate()
7637 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in AddTypesConvertedFrom()
7701 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in CollectVRQualifiers()
11662 Callee = cast<UsingShadowDecl>(Callee)->getTargetDecl(); in AddOverloadedCallCandidate()
12952 Func = cast<UsingShadowDecl>(Func)->getTargetDecl(); in BuildCallToMemberFunction()
13191 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in BuildCallToObjectOfClassType()
H A DSemaCodeComplete.cpp851 CodeCompletionResult Result(Using->getTargetDecl(), in MaybeAddResult()
852 getBasePriority(Using->getTargetDecl()), in MaybeAddResult()
974 CodeCompletionResult Result(Using->getTargetDecl(), in AddResult()
975 getBasePriority(Using->getTargetDecl()), in AddResult()
H A DSemaLookup.cpp3170 D = USD->getTargetDecl(); in LookupLiteralOperator()
3334 Underlying = USD->getTargetDecl(); in ArgumentDependentLookup()
H A DSemaDecl.cpp2904 auto *Old = dyn_cast<ExpectedDecl>(OldS->getTargetDecl()); in checkUsingShadowRedecl()
2913 S.Diag(OldS->getTargetDecl()->getLocation(), diag::note_using_decl_target); in checkUsingShadowRedecl()
2996 Diag(Shadow->getTargetDecl()->getLocation(), in MergeFunctionDecl()
3006 OldD = Old = cast<FunctionDecl>(Shadow->getTargetDecl()); in MergeFunctionDecl()
14452 Diag(Shadow->getTargetDecl()->getLocation(), in ActOnTag()
H A DSemaDeclCXX.cpp6268 << Shadow->getTargetDecl(); in InheritedConstructorInfo()
7822 ND = shad->getTargetDecl(); in FindHiddenVirtualMethods()
9611 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
9730 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
H A DSemaInit.cpp4367 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
4983 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
H A DSemaTemplateInstantiateDecl.cpp2601 NamedDecl *OldTarget = Shadow->getTargetDecl(); in VisitUsingDecl()
H A DSemaOpenMP.cpp10569 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
10579 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
H A DSemaTemplate.cpp1422 Diag(Shadow->getTargetDecl()->getLocation(), in CheckClassTemplate()
H A DTreeTransform.h12575 Ty = cast<TypeDecl>((*Using->shadow_begin())->getTargetDecl()); in RebuildUnresolvedUsingType()
H A DSemaChecking.cpp8554 FDecl = dyn_cast<FunctionDecl>(UsingD->getTargetDecl()); in emitReplacement()
H A DSemaExpr.cpp2727 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in UseArgumentDependentLookup()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp255 Decl = UsingShadow->getTargetDecl(); in VisitDeclRefExpr()
326 if (isInUSRSet(UsingShadow->getTargetDecl())) { in VisitUsingDecl()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DDelayedDiagnostic.h86 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTDumper.cpp1153 NodeDumper.dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
1165 NodeDumper.dumpBareDeclRef(D->getTargetDecl()); in VisitConstructorUsingShadowDecl()
H A DDecl.cpp1727 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl()
1744 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
H A DASTImporter.cpp4210 Expected<NamedDecl *> ToTargetOrErr = import(D->getTargetDecl()); in VisitUsingShadowDecl()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclCXX.h3201 NamedDecl *getTargetDecl() const { return Underlying; }
3326 : getTargetDecl())
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5022 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp3104 return USX->getTargetDecl() == USY->getTargetDecl(); in isSameEntity()
H A DASTWriterDecl.cpp1221 Record.AddDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTContext.cpp10044 clang::Decl *target = usd->getTargetDecl(); in DeclContextFindDeclByName()
10159 clang::Decl *target = usd->getTargetDecl(); in CountDeclLevels()