Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaAccess.cpp176 return (isMemberAccess() && getTargetDecl()->isCXXInstanceMember()); in isInstanceMember()
234 getTargetDecl()->isCXXInstanceMember()); in initialize()
239 DeclaringClass = FindDeclaringClass(getTargetDecl()); in initialize()
1045 NamedDecl *D = Target.getTargetDecl(); in TryDiagnoseProtectedAccess()
1097 NamedDecl *D = entity.getTargetDecl(); in diagnoseBadDirectAccess()
1164 NamedDecl *D = entity.getTargetDecl(); in DiagnoseAccessPath()
1255 S.Diag(entity.getTargetDecl()->getLocation(), in DiagnoseAccessPath()
1264 NamedDecl *D = (Entity.isMemberAccess() ? Entity.getTargetDecl() : nullptr); in DiagnoseBadAccess()
1298 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) { in IsMicrosoftUsingDeclarationAccessBug()
1299 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
[all …]
DSemaOverload.cpp923 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
3148 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
4087 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
5260 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates()
5793 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl(); in AddMethodCandidate()
6781 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in AddTypesConvertedFrom()
6851 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in CollectVRQualifiers()
10199 Callee = cast<UsingShadowDecl>(Callee)->getTargetDecl(); in AddOverloadedCallCandidate()
11412 Func = cast<UsingShadowDecl>(Func)->getTargetDecl(); in BuildCallToMemberFunction()
11626 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in BuildCallToObjectOfClassType()
DSemaCodeComplete.cpp825 MaybeAddResult(Result(Using->getTargetDecl(), in MaybeAddResult()
826 getBasePriority(Using->getTargetDecl()), in MaybeAddResult()
941 AddResult(Result(Using->getTargetDecl(), in AddResult()
942 getBasePriority(Using->getTargetDecl()), in AddResult()
1154 ND = Using->getTargetDecl(); in IsType()
1164 ND = Using->getTargetDecl(); in IsMember()
DSemaLookup.cpp2490 Cand = U->getTargetDecl(); in LookupSpecialMember()
2665 D = USD->getTargetDecl(); in LookupLiteralOperator()
2848 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ArgumentDependentLookup()
DSemaInit.cpp3618 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
4251 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
DSemaDeclCXX.cpp5992 ND = shad->getTargetDecl(); in FindHiddenVirtualMethods()
7318 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
7401 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
DSemaDecl.cpp2398 Diag(Shadow->getTargetDecl()->getLocation(), in MergeFunctionDecl()
2412 Old = dyn_cast<FunctionDecl>(Shadow->getTargetDecl()); in MergeFunctionDecl()
2421 Diag(Shadow->getTargetDecl()->getLocation(), in MergeFunctionDecl()
DSemaTemplateInstantiateDecl.cpp2196 Shadow->getLocation(), Shadow->getTargetDecl(), TemplateArgs)); in VisitUsingDecl()
DSemaChecking.cpp3816 FDecl = dyn_cast<FunctionDecl>(UsingD->getTargetDecl()); in emitReplacement()
DTreeTransform.h9938 Ty = cast<TypeDecl>((*Using->shadow_begin())->getTargetDecl()); in RebuildUnresolvedUsingType()
DSemaExpr.cpp2618 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.cpp1457 return cast<UsingShadowDecl>(this)->getTargetDecl() == in declarationReplaces()
1458 cast<UsingShadowDecl>(OldD)->getTargetDecl(); in declarationReplaces()
1501 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl()
1515 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
DASTDumper.cpp1255 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2910 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()
/external/clang/include/clang/AST/
DDeclCXX.h2795 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() function
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2363 return USX->getTargetDecl() == USY->getTargetDecl(); in isSameEntity()
DASTWriterDecl.cpp955 Writer.AddDeclRef(D->getTargetDecl(), Record); in VisitUsingShadowDecl()
/external/clang/tools/libclang/
DCIndex.cpp4827 MakeCXCursor(cast<UsingShadowDecl>(D)->getTargetDecl(), in clang_getCursorDefinition()
4972 return MakeCXCursor(cast<UsingShadowDecl>(*Pos)->getTargetDecl(), TU); in clang_getOverloadedDecl()