Searched refs:getTargetDecl (Results 1 – 20 of 20) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaAccess.cpp | 176 return (isMemberAccess() && getTargetDecl()->isCXXInstanceMember()); in isInstanceMember() 239 getTargetDecl()->isCXXInstanceMember()); in initialize() 244 DeclaringClass = FindDeclaringClass(getTargetDecl()); in initialize() 1050 NamedDecl *D = Target.getTargetDecl(); in TryDiagnoseProtectedAccess() 1102 NamedDecl *D = entity.getTargetDecl(); in diagnoseBadDirectAccess() 1169 NamedDecl *D = entity.getTargetDecl(); in DiagnoseAccessPath() 1260 S.Diag(entity.getTargetDecl()->getLocation(), in DiagnoseAccessPath() 1269 NamedDecl *D = (Entity.isMemberAccess() ? Entity.getTargetDecl() : nullptr); in DiagnoseBadAccess() 1303 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) { in IsMicrosoftUsingDeclarationAccessBug() 1304 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug() [all …]
|
D | SemaOverload.cpp | 903 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload() 3175 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion() 4117 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit() 5378 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates() 6045 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl(); in AddMethodCandidate() 7041 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in AddTypesConvertedFrom() 7105 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in CollectVRQualifiers() 10736 Callee = cast<UsingShadowDecl>(Callee)->getTargetDecl(); in AddOverloadedCallCandidate() 11987 Func = cast<UsingShadowDecl>(Func)->getTargetDecl(); in BuildCallToMemberFunction() 12233 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in BuildCallToObjectOfClassType()
|
D | SemaCodeComplete.cpp | 824 MaybeAddResult(Result(Using->getTargetDecl(), in MaybeAddResult() 825 getBasePriority(Using->getTargetDecl()), in MaybeAddResult() 940 AddResult(Result(Using->getTargetDecl(), in AddResult() 941 getBasePriority(Using->getTargetDecl()), in AddResult() 1151 ND = Using->getTargetDecl(); in IsType() 1161 ND = Using->getTargetDecl(); in IsMember()
|
D | SemaLookup.cpp | 2866 Cand = U->getTargetDecl(); in LookupSpecialMember() 3041 D = USD->getTargetDecl(); in LookupLiteralOperator() 3221 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ArgumentDependentLookup()
|
D | SemaDecl.cpp | 2623 auto *Old = dyn_cast<ExpectedDecl>(OldS->getTargetDecl()); in checkUsingShadowRedecl() 2632 S.Diag(OldS->getTargetDecl()->getLocation(), diag::note_using_decl_target); in checkUsingShadowRedecl() 2673 Diag(Shadow->getTargetDecl()->getLocation(), in MergeFunctionDecl() 2683 OldD = Old = cast<FunctionDecl>(Shadow->getTargetDecl()); in MergeFunctionDecl() 12200 Diag(Shadow->getTargetDecl()->getLocation(), in ActOnTag()
|
D | SemaInit.cpp | 3890 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction() 4521 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
|
D | SemaDeclCXX.cpp | 6378 ND = shad->getTargetDecl(); in FindHiddenVirtualMethods() 7781 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl() 7865 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
|
D | SemaTemplateInstantiateDecl.cpp | 2348 Shadow->getLocation(), Shadow->getTargetDecl(), TemplateArgs)); in VisitUsingDecl()
|
D | SemaTemplate.cpp | 987 Diag(Shadow->getTargetDecl()->getLocation(), in CheckClassTemplate()
|
D | SemaChecking.cpp | 4980 FDecl = dyn_cast<FunctionDecl>(UsingD->getTargetDecl()); in emitReplacement()
|
D | TreeTransform.h | 11298 Ty = cast<TypeDecl>((*Using->shadow_begin())->getTargetDecl()); in RebuildUnresolvedUsingType()
|
D | SemaExpr.cpp | 2692 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in UseArgumentDependentLookup()
|
/external/clang/include/clang/Sema/ |
D | DelayedDiagnostic.h | 70 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
|
/external/clang/lib/AST/ |
D | Decl.cpp | 1605 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl() 1619 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
|
D | ASTDumper.cpp | 1411 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 3668 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()
|
/external/clang/include/clang/AST/ |
D | DeclCXX.h | 2829 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() function
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 2637 return USX->getTargetDecl() == USY->getTargetDecl(); in isSameEntity()
|
D | ASTWriterDecl.cpp | 1099 Writer.AddDeclRef(D->getTargetDecl(), Record); in VisitUsingShadowDecl()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 5343 MakeCXCursor(cast<UsingShadowDecl>(D)->getTargetDecl(), in clang_getCursorDefinition() 5488 return MakeCXCursor(cast<UsingShadowDecl>(*Pos)->getTargetDecl(), TU); in clang_getOverloadedDecl()
|