Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A 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 …]
H A DSemaOverload.cpp890 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
3105 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
4045 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
5262 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates()
5897 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl(); in AddMethodCandidate()
6894 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in AddTypesConvertedFrom()
6964 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in CollectVRQualifiers()
10359 Callee = cast<UsingShadowDecl>(Callee)->getTargetDecl(); in AddOverloadedCallCandidate()
11589 Func = cast<UsingShadowDecl>(Func)->getTargetDecl(); in BuildCallToMemberFunction()
11816 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in BuildCallToObjectOfClassType()
H A 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()
H A DSemaLookup.cpp2529 Cand = U->getTargetDecl(); in LookupSpecialMember()
2704 D = USD->getTargetDecl(); in LookupLiteralOperator()
2883 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ArgumentDependentLookup()
H A DSemaInit.cpp3597 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
4229 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
H A DSemaDeclCXX.cpp6281 ND = shad->getTargetDecl(); in FindHiddenVirtualMethods()
7694 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
7777 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
H A DSemaDecl.cpp2488 Diag(Shadow->getTargetDecl()->getLocation(), in MergeFunctionDecl()
2502 Old = dyn_cast<FunctionDecl>(Shadow->getTargetDecl()); in MergeFunctionDecl()
2511 Diag(Shadow->getTargetDecl()->getLocation(), in MergeFunctionDecl()
H A DSemaTemplateInstantiateDecl.cpp2279 Shadow->getLocation(), Shadow->getTargetDecl(), TemplateArgs)); in VisitUsingDecl()
H A DSemaChecking.cpp4281 FDecl = dyn_cast<FunctionDecl>(UsingD->getTargetDecl()); in emitReplacement()
H A DTreeTransform.h10491 Ty = cast<TypeDecl>((*Using->shadow_begin())->getTargetDecl()); in RebuildUnresolvedUsingType()
H A DSemaExpr.cpp2653 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in UseArgumentDependentLookup()
/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DDelayedDiagnostic.h70 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DDecl.cpp1481 return cast<UsingShadowDecl>(this)->getTargetDecl() == in declarationReplaces()
1482 cast<UsingShadowDecl>(OldD)->getTargetDecl(); in declarationReplaces()
1525 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl()
1539 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
H A DASTDumper.cpp1373 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
/minix3/external/bsd/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3117 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DDeclCXX.h2835 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() function
/minix3/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp2499 return USX->getTargetDecl() == USY->getTargetDecl(); in isSameEntity()
H A DASTWriterDecl.cpp976 Writer.AddDeclRef(D->getTargetDecl(), Record); in VisitUsingShadowDecl()
/minix3/external/bsd/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp5024 MakeCXCursor(cast<UsingShadowDecl>(D)->getTargetDecl(), in clang_getCursorDefinition()
5169 return MakeCXCursor(cast<UsingShadowDecl>(*Pos)->getTargetDecl(), TU); in clang_getOverloadedDecl()