Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaAccess.cpp189 return (isMemberAccess() && getTargetDecl()->isCXXInstanceMember()); in isInstanceMember()
252 getTargetDecl()->isCXXInstanceMember()); in initialize()
257 DeclaringClass = FindDeclaringClass(getTargetDecl()); in initialize()
1058 NamedDecl *D = Target.getTargetDecl(); in TryDiagnoseProtectedAccess()
1110 NamedDecl *D = entity.getTargetDecl(); in diagnoseBadDirectAccess()
1177 NamedDecl *D = entity.getTargetDecl(); in DiagnoseAccessPath()
1268 S.Diag(entity.getTargetDecl()->getLocation(), in DiagnoseAccessPath()
1277 NamedDecl *D = (Entity.isMemberAccess() ? Entity.getTargetDecl() : nullptr); in DiagnoseBadAccess()
1311 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) { in IsMicrosoftUsingDeclarationAccessBug()
1312 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
[all …]
H A DSemaCUDA.cpp647 D = Using->getTargetDecl(); in maybeAddCUDAHostDeviceAttrs()
H A DSemaOverload.cpp1045 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
3521 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
4625 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
5997 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates()
6824 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl(); in AddMethodCandidate()
8043 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in AddTypesConvertedFrom()
8115 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in CollectVRQualifiers()
12584 Callee = cast<UsingShadowDecl>(Callee)->getTargetDecl(); in AddOverloadedCallCandidate()
14261 Func = cast<UsingShadowDecl>(Func)->getTargetDecl(); in BuildCallToMemberFunction()
14506 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in BuildCallToObjectOfClassType()
H A DSemaCodeComplete.cpp1096 CodeCompletionResult Result(Using->getTargetDecl(), in MaybeAddResult()
1097 getBasePriority(Using->getTargetDecl()), in MaybeAddResult()
1269 CodeCompletionResult Result(Using->getTargetDecl(), in AddResult()
1270 getBasePriority(Using->getTargetDecl()), in AddResult()
H A DSemaLookup.cpp3397 D = USD->getTargetDecl(); in LookupLiteralOperator()
3596 Underlying = USD->getTargetDecl(); in ArgumentDependentLookup()
H A DSemaDecl.cpp3140 auto *Old = dyn_cast<ExpectedDecl>(OldS->getTargetDecl()); in checkUsingShadowRedecl()
3149 S.Diag(OldS->getTargetDecl()->getLocation(), diag::note_using_decl_target); in checkUsingShadowRedecl()
3233 Diag(Shadow->getTargetDecl()->getLocation(), in MergeFunctionDecl()
3243 OldD = Old = cast<FunctionDecl>(Shadow->getTargetDecl()); in MergeFunctionDecl()
15917 Diag(Shadow->getTargetDecl()->getLocation(), in ActOnTag()
H A DSemaDeclCXX.cpp7032 << Shadow->getTargetDecl(); in InheritedConstructorInfo()
9805 ND = shad->getTargetDecl(); in FindHiddenVirtualMethods()
11692 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
11811 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
H A DSemaInit.cpp4622 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
5296 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
H A DSemaTemplateInstantiateDecl.cpp3057 NamedDecl *OldTarget = Shadow->getTargetDecl(); in VisitUsingDecl()
H A DSemaTemplate.cpp1871 Diag(Shadow->getTargetDecl()->getLocation(), in CheckClassTemplate()
H A DSemaOpenMP.cpp16021 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
16032 Underlying = USD->getTargetDecl(); in argumentDependentLookup()
H A DTreeTransform.h14361 Ty = cast<TypeDecl>((*Using->shadow_begin())->getTargetDecl()); in RebuildUnresolvedUsingType()
H A DSemaChecking.cpp9570 FDecl = dyn_cast<FunctionDecl>(UsingD->getTargetDecl()); in emitReplacement()
H A DSemaExpr.cpp3095 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in UseArgumentDependentLookup()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp273 Decl = UsingShadow->getTargetDecl(); in VisitDeclRefExpr()
344 if (isInUSRSet(UsingShadow->getTargetDecl())) { in VisitUsingDecl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DDelayedDiagnostic.h80 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DTextNodeDumper.cpp2075 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
2085 dumpBareDeclRef(D->getTargetDecl()); in VisitConstructorUsingShadowDecl()
H A DJSONNodeDumper.cpp760 JOS.attribute("target", createBareDeclRef(USD->getTargetDecl())); in VisitUsingShadowDecl()
H A DDecl.cpp1817 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl()
1834 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
H A DASTImporter.cpp4629 Expected<NamedDecl *> ToTargetOrErr = import(D->getTargetDecl()); in VisitUsingShadowDecl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclCXX.h3240 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() function
3365 : getTargetDecl()) in getConstructedBaseClass()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp3230 return USX->getTargetDecl() == USY->getTargetDecl(); in isSameEntity()
H A DASTWriterDecl.cpp1292 Record.AddDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6221 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp6549 MakeCXCursor(cast<UsingShadowDecl>(D)->getTargetDecl(), TU)); in clang_getCursorDefinition()
6695 return MakeCXCursor(cast<UsingShadowDecl>(*Pos)->getTargetDecl(), TU); in clang_getOverloadedDecl()