Home
last modified time | relevance | path

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

123

/external/clang/lib/Sema/
DSemaAccess.cpp176 return (isMemberAccess() && getTargetDecl()->isCXXInstanceMember()); in isInstanceMember()
239 getTargetDecl()->isCXXInstanceMember()); in initialize()
244 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 …]
DSemaCUDA.cpp456 D = Using->getTargetDecl(); in maybeAddCUDAHostDeviceAttrs()
DSemaCodeComplete.cpp841 MaybeAddResult(Result(Using->getTargetDecl(), in MaybeAddResult()
842 getBasePriority(Using->getTargetDecl()), in MaybeAddResult()
957 AddResult(Result(Using->getTargetDecl(), in AddResult()
958 getBasePriority(Using->getTargetDecl()), in AddResult()
DSemaLookup.cpp3130 D = USD->getTargetDecl(); in LookupLiteralOperator()
3310 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ArgumentDependentLookup()
/external/llvm-project/clang/lib/Sema/
DSemaAccess.cpp175 return (isMemberAccess() && getTargetDecl()->isCXXInstanceMember()); in isInstanceMember()
238 getTargetDecl()->isCXXInstanceMember()); in initialize()
243 DeclaringClass = FindDeclaringClass(getTargetDecl()); in initialize()
1044 NamedDecl *D = Target.getTargetDecl(); in TryDiagnoseProtectedAccess()
1096 NamedDecl *D = entity.getTargetDecl(); in diagnoseBadDirectAccess()
1163 NamedDecl *D = entity.getTargetDecl(); in DiagnoseAccessPath()
1254 S.Diag(entity.getTargetDecl()->getLocation(), in DiagnoseAccessPath()
1263 NamedDecl *D = (Entity.isMemberAccess() ? Entity.getTargetDecl() : nullptr); in DiagnoseBadAccess()
1297 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) { in IsMicrosoftUsingDeclarationAccessBug()
1298 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
[all …]
DSemaCUDA.cpp606 D = Using->getTargetDecl(); in maybeAddCUDAHostDeviceAttrs()
DSemaOverload.cpp1045 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
3520 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
4622 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
5994 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates()
6827 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl(); in AddMethodCandidate()
8046 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in AddTypesConvertedFrom()
8118 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in CollectVRQualifiers()
12598 Callee = cast<UsingShadowDecl>(Callee)->getTargetDecl(); in AddOverloadedCallCandidate()
14262 Func = cast<UsingShadowDecl>(Func)->getTargetDecl(); in BuildCallToMemberFunction()
14507 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in BuildCallToObjectOfClassType()
DSemaCodeComplete.cpp1067 CodeCompletionResult Result(Using->getTargetDecl(), in MaybeAddResult()
1068 getBasePriority(Using->getTargetDecl()), in MaybeAddResult()
1240 CodeCompletionResult Result(Using->getTargetDecl(), in AddResult()
1241 getBasePriority(Using->getTargetDecl()), in AddResult()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DUnusedUsingDeclsCheck.cpp107 const auto *TargetDecl = UsingShadow->getTargetDecl()->getCanonicalDecl(); in check()
161 removeFromFoundDecls(USD->getTargetDecl()->getCanonicalDecl()); in check()
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/
DUSRLocFinder.cpp255 Decl = UsingShadow->getTargetDecl(); in VisitDeclRefExpr()
326 if (isInUSRSet(UsingShadow->getTargetDecl())) { in VisitUsingDecl()
/external/clang/include/clang/Sema/
DDelayedDiagnostic.h70 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
/external/llvm-project/clang/include/clang/Sema/
DDelayedDiagnostic.h80 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() function
/external/llvm-project/clang-tools-extra/clangd/unittests/
DQualityTests.cpp148 CodeCompletionResult Result(Shadow->getTargetDecl(), 42); in TEST()
/external/llvm-project/clang-tools-extra/clang-change-namespace/
DChangeNamespace.cpp852 const auto *TargetDecl = UsingShadow->getTargetDecl(); in replaceQualifiedSymbolInDeclContext()
937 UsingDeclaration->shadow_begin()->getTargetDecl(); in fixUsingShadowDecl()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DRenamerClangTidyCheck.cpp354 addUsage(Shadow->getTargetDecl(), Decl->getNameInfo().getSourceRange(), in check()
/external/llvm-project/clang-tools-extra/clangd/
DSemanticHighlighting.cpp51 if (auto *Target = USD->getTargetDecl()) in kindForDecl()
DFindTarget.cpp395 D = USD->getTargetDecl(); in add()
/external/clang/include/clang/AST/
DDeclCXX.h2889 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() function
3010 : getTargetDecl()) in getConstructedBaseClass()
/external/llvm-project/clang/lib/AST/
DTextNodeDumper.cpp2073 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
2083 dumpBareDeclRef(D->getTargetDecl()); in VisitConstructorUsingShadowDecl()
DJSONNodeDumper.cpp760 JOS.attribute("target", createBareDeclRef(USD->getTargetDecl())); in VisitUsingShadowDecl()
DDecl.cpp1792 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl()
1809 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
/external/clang/lib/AST/
DASTDumper.cpp1496 dumpBareDeclRef(D->getTargetDecl()); in VisitUsingShadowDecl()
1508 dumpBareDeclRef(D->getTargetDecl()); in VisitConstructorUsingShadowDecl()
DDecl.cpp1605 ND = UD->getTargetDecl(); in getUnderlyingDeclImpl()
1622 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
/external/llvm-project/clang/include/clang/AST/
DDeclCXX.h3219 NamedDecl *getTargetDecl() const { return Underlying; } in getTargetDecl() function
3344 : getTargetDecl()) in getConstructedBaseClass()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h4250 return InnerMatcher.matches(*Node.getTargetDecl(), Finder, Builder); in AST_MATCHER_P()

123