Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaAccess.cpp176 return (isMemberAccess() && getTargetDecl()->isCXXInstanceMember()); in isInstanceMember()
233 getTargetDecl()->isCXXInstanceMember()); in initialize()
238 DeclaringClass = FindDeclaringClass(getTargetDecl()); in initialize()
1054 NamedDecl *D = Target.getTargetDecl(); in TryDiagnoseProtectedAccess()
1106 NamedDecl *D = entity.getTargetDecl(); in diagnoseBadDirectAccess()
1175 NamedDecl *D = entity.getTargetDecl(); in DiagnoseAccessPath()
1266 S.Diag(entity.getTargetDecl()->getLocation(), diag::note_field_decl); in DiagnoseAccessPath()
1274 NamedDecl *D = (Entity.isMemberAccess() ? Entity.getTargetDecl() : 0); in DiagnoseBadAccess()
1308 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) { in IsMicrosoftUsingDeclarationAccessBug()
1309 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
[all …]
DSemaLookup.cpp2362 Cand = U->getTargetDecl(); in LookupSpecialMember()
2535 D = USD->getTargetDecl(); in LookupLiteralOperator()
2589 D = USD->getTargetDecl(); in LookupLiteralOperator()
2704 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ArgumentDependentLookup()
DSemaOverload.cpp914 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
3145 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
4039 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
5472 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl(); in AddMethodCandidate()
6366 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in AddTypesConvertedFrom()
6437 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in CollectVRQualifiers()
9497 Callee = cast<UsingShadowDecl>(Callee)->getTargetDecl(); in AddOverloadedCallCandidate()
10769 Func = cast<UsingShadowDecl>(Func)->getTargetDecl(); in BuildCallToMemberFunction()
10977 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in BuildCallToObjectOfClassType()
DSemaCodeComplete.cpp827 MaybeAddResult(Result(Using->getTargetDecl(), in MaybeAddResult()
828 getBasePriority(Using->getTargetDecl()), in MaybeAddResult()
942 AddResult(Result(Using->getTargetDecl(), in AddResult()
943 getBasePriority(Using->getTargetDecl()), in AddResult()
1152 ND = Using->getTargetDecl(); in IsType()
1162 ND = Using->getTargetDecl(); in IsMember()
DSemaInit.cpp3226 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
3800 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
DSemaTemplateInstantiateDecl.cpp2080 Shadow->getTargetDecl(), in VisitUsingDecl()
DSemaDeclCXX.cpp5398 ND = shad->getTargetDecl(); in DiagnoseHiddenVirtualMethods()
6679 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
6760 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
DSemaExprCXX.cpp2053 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ActOnCXXDelete()
DTreeTransform.h9095 Ty = cast<TypeDecl>((*Using->shadow_begin())->getTargetDecl()); in RebuildUnresolvedUsingType()
DSemaDecl.cpp2281 Diag(Shadow->getTargetDecl()->getLocation(), in MergeFunctionDecl()
DSemaExpr.cpp2311 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.cpp1252 return cast<UsingShadowDecl>(this)->getTargetDecl() == in declarationReplaces()
1253 cast<UsingShadowDecl>(OldD)->getTargetDecl(); in declarationReplaces()
1282 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl()
1296 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
DDeclBase.cpp157 return UD->getTargetDecl()->isFunctionOrFunctionTemplate(); in isFunctionOrFunctionTemplate()
DDeclCXX.cpp947 Conv = cast<UsingShadowDecl>(Conv)->getTargetDecl(); in GetConversionType()
DASTDumper.cpp1065 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2636 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()
/external/clang/include/clang/AST/
DDeclCXX.h2654 NamedDecl *getTargetDecl() const { return Underlying; }
/external/clang/lib/Serialization/
DASTWriterDecl.cpp901 Writer.AddDeclRef(D->getTargetDecl(), Record); in VisitUsingShadowDecl()
/external/clang/tools/libclang/
DCIndex.cpp4529 MakeCXCursor(cast<UsingShadowDecl>(D)->getTargetDecl(), in clang_getCursorDefinition()
4674 return MakeCXCursor(cast<UsingShadowDecl>(*Pos)->getTargetDecl(), TU); in clang_getOverloadedDecl()