Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaAccess.cpp210 getTargetDecl()->isCXXInstanceMember()); in initialize()
215 DeclaringClass = FindDeclaringClass(getTargetDecl()); in initialize()
952 NamedDecl *D = Target.getTargetDecl(); in TryDiagnoseProtectedAccess()
1001 NamedDecl *D = (Entity.isMemberAccess() ? Entity.getTargetDecl() : 0); in DiagnoseAccessPath()
1125 NamedDecl *D = (Entity.isMemberAccess() ? Entity.getTargetDecl() : 0); in DiagnoseBadAccess()
1159 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) { in IsMicrosoftUsingDeclarationAccessBug()
1160 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
1161 if (Entity.getTargetDecl()->getAccess() == AS_private && in IsMicrosoftUsingDeclarationAccessBug()
1217 NamedDecl *Target = Entity.getTargetDecl(); in IsAccessible()
1263 Entity.getTargetDecl(), in DelayDependentAccess()
DSemaOverload.cpp591 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
2464 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
3276 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
4228 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl(); in AddMethodCandidate()
5122 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in AddTypesConvertedFrom()
5192 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in CollectVRQualifiers()
8071 Callee = cast<UsingShadowDecl>(Callee)->getTargetDecl(); in AddOverloadedCallCandidate()
9177 Func = cast<UsingShadowDecl>(Func)->getTargetDecl(); in BuildCallToMemberFunction()
9376 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in BuildCallToObjectOfClassType()
DSemaLookup.cpp2277 Cand = U->getTargetDecl(); in LookupSpecialMember()
2505 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ArgumentDependentLookup()
DSemaCodeComplete.cpp778 MaybeAddResult(Result(Using->getTargetDecl(), R.Qualifier), CurContext); in MaybeAddResult()
890 AddResult(Result(Using->getTargetDecl(), R.Qualifier), CurContext, Hiding); in AddResult()
1101 ND = Using->getTargetDecl(); in IsType()
1111 ND = Using->getTargetDecl(); in IsMember()
DSemaInit.cpp2523 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
3144 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
DSemaDeclCXX.cpp4035 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(shad->getTargetDecl())) in DiagnoseHiddenVirtualMethods()
5122 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
5203 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
DSemaTemplateInstantiateDecl.cpp1836 Shadow->getTargetDecl(), in VisitUsingDecl()
DSemaExprCXX.cpp1803 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ActOnCXXDelete()
DTreeTransform.h8198 Ty = cast<TypeDecl>((*Using->shadow_begin())->getTargetDecl()); in RebuildUnresolvedUsingType()
DSemaDecl.cpp1576 Diag(Shadow->getTargetDecl()->getLocation(), in MergeFunctionDecl()
DSemaExpr.cpp2083 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in UseArgumentDependentLookup()
/external/clang/include/clang/Sema/
DDelayedDiagnostic.h69 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
/external/clang/lib/AST/
DDecl.cpp923 return cast<UsingShadowDecl>(this)->getTargetDecl() == in declarationReplaces()
924 cast<UsingShadowDecl>(OldD)->getTargetDecl(); in declarationReplaces()
948 ND = UD->getTargetDecl(); in getUnderlyingDecl()
963 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
DDeclBase.cpp131 return UD->getTargetDecl()->isFunctionOrFunctionTemplate(); in isFunctionOrFunctionTemplate()
DDeclCXX.cpp852 Conv = cast<UsingShadowDecl>(Conv)->getTargetDecl(); in GetConversionType()
/external/clang/include/clang/AST/
DDeclCXX.h2257 NamedDecl *getTargetDecl() const { return Underlying; }
/external/clang/lib/Serialization/
DASTWriterDecl.cpp852 Writer.AddDeclRef(D->getTargetDecl(), Record); in VisitUsingShadowDecl()
/external/clang/tools/libclang/
DCIndex.cpp4051 MakeCXCursor(cast<UsingShadowDecl>(D)->getTargetDecl(), in clang_getCursorDefinition()
4203 return MakeCXCursor(cast<UsingShadowDecl>(*Pos)->getTargetDecl(), TU); in clang_getOverloadedDecl()