Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp185 return (isMemberAccess() && getTargetDecl()->isCXXInstanceMember()); in isInstanceMember()
258 getTargetDecl()->isCXXInstanceMember()); in initialize()
263 DeclaringClass = FindDeclaringClass(getTargetDecl()); in initialize()
1064 NamedDecl *D = Target.getTargetDecl(); in TryDiagnoseProtectedAccess()
1116 NamedDecl *D = entity.getTargetDecl(); in diagnoseBadDirectAccess()
1184 NamedDecl *D = entity.getTargetDecl(); in DiagnoseAccessPath()
1275 S.Diag(entity.getTargetDecl()->getLocation(), in DiagnoseAccessPath()
1284 NamedDecl *D = (Entity.isMemberAccess() ? Entity.getTargetDecl() : nullptr); in DiagnoseBadAccess()
1318 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) in IsMicrosoftUsingDeclarationAccessBug()
1320 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
[all …]
H A DSemaCUDA.cpp794 D = Using->getTargetDecl(); in maybeAddHostDeviceAttrs()
H A DSemaOverload.cpp1220 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
4069 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
5157 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
6757 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates()
7660 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl(); in AddMethodCandidate()
9093 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in AddTypesConvertedFrom()
9163 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in CollectVRQualifiers()
14225 Callee = cast<UsingShadowDecl>(Callee)->getTargetDecl(); in AddOverloadedCallCandidate()
16149 Func = cast<UsingShadowDecl>(Func)->getTargetDecl(); in BuildCallToMemberFunction()
16437 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in BuildCallToObjectOfClassType()
H A DSemaDecl.cpp553 assert(!FoundUsingShadow || FoundUsingShadow->getTargetDecl() == TD); in getTypeName()
1133 TD == cast<TemplateDecl>(FoundUsingShadow->getTargetDecl())); in ClassifyName()
3530 auto *Old = dyn_cast<ExpectedDecl>(OldS->getTargetDecl()); in checkUsingShadowRedecl()
3539 S.Diag(OldS->getTargetDecl()->getLocation(), diag::note_using_decl_target); in checkUsingShadowRedecl()
3612 Diag(Shadow->getTargetDecl()->getLocation(), in MergeFunctionDecl()
3626 OldD = Old = cast<FunctionTemplateDecl>(Shadow->getTargetDecl()) in MergeFunctionDecl()
3631 OldD = Old = cast<FunctionDecl>(Shadow->getTargetDecl()); in MergeFunctionDecl()
17979 Diag(Shadow->getTargetDecl()->getLocation(), in ActOnTag()
H A DSemaLookup.cpp3709 D = USD->getTargetDecl(); in LookupLiteralOperator()
3915 Underlying = USD->getTargetDecl(); in ArgumentDependentLookup()
H A DSemaCodeComplete.cpp1126 CodeCompletionResult Result(Using->getTargetDecl(), in MaybeAddResult()
1127 getBasePriority(Using->getTargetDecl()), in MaybeAddResult()
1364 CodeCompletionResult Result(Using->getTargetDecl(), in AddResult()
1365 getBasePriority(Using->getTargetDecl()), in AddResult()
H A DSemaTemplateInstantiateDecl.cpp3850 NamedDecl *OldTarget = Shadow->getTargetDecl(); in VisitBaseUsingDecls()
3857 dyn_cast<UnresolvedUsingIfExistsDecl>(Shadow->getTargetDecl())) { in VisitBaseUsingDecls()
H A DSemaDeclCXX.cpp7429 << Shadow->getTargetDecl(); in InheritedConstructorInfo()
10507 ND = shad->getTargetDecl(); in FindHiddenVirtualMethods()
12728 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
12859 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
13485 EC = dyn_cast<EnumConstantDecl>(UD->shadow_begin()->getTargetDecl()); in CheckUsingDeclQualifier()
H A DSemaInit.cpp5211 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
6151 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
H A DSemaTemplate.cpp292 assert(!FoundUsingShadow || FoundUsingShadow->getTargetDecl() == TD); in isTemplateName()
2001 Diag(Shadow->getTargetDecl()->getLocation(), in CheckClassTemplate()
H A DTreeTransform.h17350 if (SemaRef.DiagnoseUseOfDecl(Shadow->getTargetDecl(), Loc)) in RebuildUnresolvedUsingType()
17354 cast<TypeDecl>(Shadow->getTargetDecl()))); in RebuildUnresolvedUsingType()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp273 Decl = UsingShadow->getTargetDecl(); in VisitDeclRefExpr()
344 if (isInUSRSet(UsingShadow->getTargetDecl())) { in VisitUsingDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDelayedDiagnostic.h80 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DTemplateArgumentHasher.cpp146 AddDecl(USD->getTargetDecl()); in AddTemplateName()
H A DASTWriterDecl.cpp1614 Record.AddDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTemplateName.cpp241 return TemplateName(USD->getTargetDecl()); in desugar()
H A DTextNodeDumper.cpp1307 AddChild("target", [=] { Visit(USD->getTargetDecl()); }); in dumpBareTemplateName()
2812 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
2822 dumpBareDeclRef(D->getTargetDecl()); in VisitConstructorUsingShadowDecl()
H A DJSONNodeDumper.cpp918 JOS.attribute("target", createBareDeclRef(USD->getTargetDecl())); in VisitUsingShadowDecl()
H A DDecl.cpp1950 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl()
1967 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
H A DType.cpp4060 cast<TypeDecl>(Found->getTargetDecl())->getTypeForDecl(), 0) in getUnderlyingType()
H A DASTContext.cpp5328 cast<TypeDecl>(Found->getTargetDecl())->getTypeForDecl(); in getUsingType()
7683 return declaresSameEntity(USX->getTargetDecl(), USY->getTargetDecl()); in isSameEntity()
H A DASTImporter.cpp5500 Expected<NamedDecl *> ToTargetOrErr = import(D->getTargetDecl()); in VisitUsingShadowDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3454 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() function
3762 : getTargetDecl()) in getConstructedBaseClass()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6746 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp9236 clang::Decl *target = usd->getTargetDecl(); in DeclContextFindDeclByName()
9350 clang::Decl *target = usd->getTargetDecl(); in CountDeclLevels()

12