Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaAccess.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 …]
HDSemaOverload.cpp896 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
3101 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
4043 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
5301 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates()
5937 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl(); in AddMethodCandidate()
6933 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in AddTypesConvertedFrom()
6997 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in CollectVRQualifiers()
10389 Callee = cast<UsingShadowDecl>(Callee)->getTargetDecl(); in AddOverloadedCallCandidate()
11633 Func = cast<UsingShadowDecl>(Func)->getTargetDecl(); in BuildCallToMemberFunction()
11858 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in BuildCallToObjectOfClassType()
HDSemaCodeComplete.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()
HDSemaLookup.cpp2691 Cand = U->getTargetDecl(); in LookupSpecialMember()
2866 D = USD->getTargetDecl(); in LookupLiteralOperator()
3045 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ArgumentDependentLookup()
HDSemaDecl.cpp2606 auto *Old = dyn_cast<ExpectedDecl>(OldS->getTargetDecl()); in checkUsingShadowRedecl()
2615 S.Diag(OldS->getTargetDecl()->getLocation(), diag::note_using_decl_target); in checkUsingShadowRedecl()
2641 Diag(Shadow->getTargetDecl()->getLocation(), in MergeFunctionDecl()
2651 OldD = Old = cast<FunctionDecl>(Shadow->getTargetDecl()); in MergeFunctionDecl()
11868 Diag(Shadow->getTargetDecl()->getLocation(), in ActOnTag()
HDSemaInit.cpp3883 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
4514 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
HDSemaDeclCXX.cpp6377 ND = shad->getTargetDecl(); in FindHiddenVirtualMethods()
7790 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
7873 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
HDSemaTemplateInstantiateDecl.cpp2323 Shadow->getLocation(), Shadow->getTargetDecl(), TemplateArgs)); in VisitUsingDecl()
HDSemaTemplate.cpp985 Diag(Shadow->getTargetDecl()->getLocation(), in CheckClassTemplate()
HDSemaChecking.cpp4813 FDecl = dyn_cast<FunctionDecl>(UsingD->getTargetDecl()); in emitReplacement()
HDTreeTransform.h10816 Ty = cast<TypeDecl>((*Using->shadow_begin())->getTargetDecl()); in RebuildUnresolvedUsingType()
HDSemaExpr.cpp2718 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in UseArgumentDependentLookup()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDDelayedDiagnostic.h70 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDDecl.cpp1531 if (USD->getTargetDecl() != cast<UsingShadowDecl>(OldD)->getTargetDecl()) in declarationReplaces()
1584 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl()
1598 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
HDASTDumper.cpp1401 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
/NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/
HDASTMatchers.h3314 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDDeclCXX.h2839 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() function
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTReaderDecl.cpp2637 return USX->getTargetDecl() == USY->getTargetDecl(); in isSameEntity()
HDASTWriterDecl.cpp1049 Writer.AddDeclRef(D->getTargetDecl(), Record); in VisitUsingShadowDecl()