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()
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 …]
DSemaOverload.cpp903 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()
DSemaCodeComplete.cpp824 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()
DSemaLookup.cpp2866 Cand = U->getTargetDecl(); in LookupSpecialMember()
3041 D = USD->getTargetDecl(); in LookupLiteralOperator()
3221 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ArgumentDependentLookup()
DSemaDecl.cpp2623 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()
DSemaInit.cpp3890 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
4521 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
DSemaDeclCXX.cpp6378 ND = shad->getTargetDecl(); in FindHiddenVirtualMethods()
7781 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
7865 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
DSemaTemplateInstantiateDecl.cpp2348 Shadow->getLocation(), Shadow->getTargetDecl(), TemplateArgs)); in VisitUsingDecl()
DSemaTemplate.cpp987 Diag(Shadow->getTargetDecl()->getLocation(), in CheckClassTemplate()
DSemaChecking.cpp4980 FDecl = dyn_cast<FunctionDecl>(UsingD->getTargetDecl()); in emitReplacement()
DTreeTransform.h11298 Ty = cast<TypeDecl>((*Using->shadow_begin())->getTargetDecl()); in RebuildUnresolvedUsingType()
DSemaExpr.cpp2692 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in UseArgumentDependentLookup()
/external/clang/include/clang/Sema/
DDelayedDiagnostic.h70 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
/external/clang/lib/AST/
DDecl.cpp1605 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl()
1619 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
DASTDumper.cpp1411 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3668 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()
/external/clang/include/clang/AST/
DDeclCXX.h2829 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() function
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2637 return USX->getTargetDecl() == USY->getTargetDecl(); in isSameEntity()
DASTWriterDecl.cpp1099 Writer.AddDeclRef(D->getTargetDecl(), Record); in VisitUsingShadowDecl()
/external/clang/tools/libclang/
DCIndex.cpp5343 MakeCXCursor(cast<UsingShadowDecl>(D)->getTargetDecl(), in clang_getCursorDefinition()
5488 return MakeCXCursor(cast<UsingShadowDecl>(*Pos)->getTargetDecl(), TU); in clang_getOverloadedDecl()