Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/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.cpp680 D = Using->getTargetDecl(); in maybeAddCUDAHostDeviceAttrs()
H A DSemaOverload.cpp1130 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
3647 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
4730 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
6154 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates()
7007 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl(); in AddMethodCandidate()
8249 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in AddTypesConvertedFrom()
8321 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in CollectVRQualifiers()
12927 Callee = cast<UsingShadowDecl>(Callee)->getTargetDecl(); in AddOverloadedCallCandidate()
14681 Func = cast<UsingShadowDecl>(Func)->getTargetDecl(); in BuildCallToMemberFunction()
14926 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in BuildCallToObjectOfClassType()
H A DSemaDecl.cpp564 assert(!FoundUsingShadow || FoundUsingShadow->getTargetDecl() == TD); in getTypeName()
1156 TD == cast<TemplateDecl>(FoundUsingShadow->getTargetDecl())); in ClassifyName()
3532 auto *Old = dyn_cast<ExpectedDecl>(OldS->getTargetDecl()); in checkUsingShadowRedecl()
3541 S.Diag(OldS->getTargetDecl()->getLocation(), diag::note_using_decl_target); in checkUsingShadowRedecl()
3625 Diag(Shadow->getTargetDecl()->getLocation(), in MergeFunctionDecl()
3639 OldD = Old = cast<FunctionTemplateDecl>(Shadow->getTargetDecl()) in MergeFunctionDecl()
3644 OldD = Old = cast<FunctionDecl>(Shadow->getTargetDecl()); in MergeFunctionDecl()
17061 Diag(Shadow->getTargetDecl()->getLocation(), in ActOnTag()
H A DSemaLookup.cpp3665 D = USD->getTargetDecl(); in LookupLiteralOperator()
3870 Underlying = USD->getTargetDecl(); in ArgumentDependentLookup()
H A DSemaCodeComplete.cpp1098 CodeCompletionResult Result(Using->getTargetDecl(), in MaybeAddResult()
1099 getBasePriority(Using->getTargetDecl()), in MaybeAddResult()
1274 CodeCompletionResult Result(Using->getTargetDecl(), in AddResult()
1275 getBasePriority(Using->getTargetDecl()), in AddResult()
H A DSemaTemplateInstantiateDecl.cpp3187 NamedDecl *OldTarget = Shadow->getTargetDecl(); in VisitBaseUsingDecls()
3194 dyn_cast<UnresolvedUsingIfExistsDecl>(Shadow->getTargetDecl())) { in VisitBaseUsingDecls()
H A DSemaDeclCXX.cpp7186 << Shadow->getTargetDecl(); in InheritedConstructorInfo()
10091 ND = shad->getTargetDecl(); in FindHiddenVirtualMethods()
12048 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
12180 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
12846 EC = dyn_cast<EnumConstantDecl>(UD->shadow_begin()->getTargetDecl()); in CheckUsingDeclQualifier()
H A DSemaTemplate.cpp290 assert(!FoundUsingShadow || FoundUsingShadow->getTargetDecl() == TD); in isTemplateName()
1970 Diag(Shadow->getTargetDecl()->getLocation(), in CheckClassTemplate()
H A DSemaInit.cpp4679 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
5603 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
H A DTreeTransform.h14909 if (SemaRef.DiagnoseUseOfDecl(Shadow->getTargetDecl(), Loc)) in RebuildUnresolvedUsingType()
14913 cast<TypeDecl>(Shadow->getTargetDecl()))); in RebuildUnresolvedUsingType()
/openbsd/gnu/llvm/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.cpp2189 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
2199 dumpBareDeclRef(D->getTargetDecl()); in VisitConstructorUsingShadowDecl()
H A DJSONNodeDumper.cpp830 JOS.attribute("target", createBareDeclRef(USD->getTargetDecl())); in VisitUsingShadowDecl()
H A DDecl.cpp1887 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl()
1904 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
H A DType.cpp3470 cast<TypeDecl>(Found->getTargetDecl())->getTypeForDecl(), 0) in getUnderlyingType()
H A DASTContext.cpp4709 cast<TypeDecl>(Found->getTargetDecl())->getTypeForDecl(); in getUsingType()
6693 return USX->getTargetDecl() == USY->getTargetDecl(); in isSameEntity()
H A DASTImporter.cpp4906 Expected<NamedDecl *> ToTargetOrErr = import(D->getTargetDecl()); in VisitUsingShadowDecl()
/openbsd/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp273 Decl = UsingShadow->getTargetDecl(); in VisitDeclRefExpr()
344 if (isInUSRSet(UsingShadow->getTargetDecl())) { in VisitUsingDecl()
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DDelayedDiagnostic.h80 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DDeclCXX.h3298 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() function
3605 : getTargetDecl()) in getConstructedBaseClass()
/openbsd/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6427 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTWriterDecl.cpp1334 Record.AddDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
/openbsd/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp6815 MakeCXCursor(cast<UsingShadowDecl>(D)->getTargetDecl(), TU)); in clang_getCursorDefinition()
6961 return MakeCXCursor(cast<UsingShadowDecl>(*Pos)->getTargetDecl(), TU); in clang_getOverloadedDecl()
/openbsd/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp9592 clang::Decl *target = usd->getTargetDecl(); in DeclContextFindDeclByName()
9707 clang::Decl *target = usd->getTargetDecl(); in CountDeclLevels()

12