Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclCXX.h3139 class UsingShadowDecl : public NamedDecl, public Redeclarable<UsingShadowDecl> {
3157 UsingShadowDecl *getPreviousDeclImpl() override {
3192 UsingShadowDecl *getCanonicalDecl() override {
3195 const UsingShadowDecl *getCanonicalDecl() const {
3220 UsingShadowDecl *getNextUsingShadowDecl() const {
3416 UsingShadowDecl *Current = nullptr;
3419 using value_type = UsingShadowDecl *;
3420 using reference = UsingShadowDecl *;
3421 using pointer = UsingShadowDecl *;
3468 void addShadowDecl(UsingShadowDecl *S);
[all …]
H A DASTContext.h125 class UsingShadowDecl; variable
488 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>
918 void setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst,
919 UsingShadowDecl *Pattern);
920 UsingShadowDecl *getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst);
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclCXX.cpp1263 if (auto *Shadow = dyn_cast<UsingShadowDecl>(D)) { in addedMember()
2661 void UsingShadowDecl::anchor() {} in anchor()
2663 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, in UsingShadowDecl() function in UsingShadowDecl
2673 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, EmptyShell Empty) in UsingShadowDecl() function in UsingShadowDecl
2677 UsingShadowDecl *
2682 UsingDecl *UsingShadowDecl::getUsingDecl() const { in getUsingDecl()
2683 const UsingShadowDecl *Shadow = this; in getUsingDecl()
2711 void UsingDecl::addShadowDecl(UsingShadowDecl *S) { in addShadowDecl()
2721 void UsingDecl::removeShadowDecl(UsingShadowDecl *S) { in removeShadowDecl()
2730 dyn_cast<UsingShadowDecl>(S->UsingOrNextShadow)); in removeShadowDecl()
[all …]
H A DDeclPrinter.cpp101 void VisitUsingShadowDecl(UsingShadowDecl *D);
1531 void DeclPrinter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
H A DASTDumper.cpp268 void VisitUsingShadowDecl(const UsingShadowDecl *D);
1151 void ASTDumper::VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
H A DDecl.cpp1726 while (auto *UD = dyn_cast<UsingShadowDecl>(ND)) in getUnderlyingDeclImpl()
1743 if (isa<UsingShadowDecl>(D)) in isCXXInstanceMember()
1744 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
H A DASTContext.cpp1435 UsingShadowDecl *
1436 ASTContext::getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst) { in getInstantiatedFromUsingShadowDecl()
1437 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>::const_iterator Pos in getInstantiatedFromUsingShadowDecl()
1446 ASTContext::setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst, in setInstantiatedFromUsingShadowDecl()
1447 UsingShadowDecl *Pattern) { in setInstantiatedFromUsingShadowDecl()
7601 (isa<UsingShadowDecl>(D) && in getOverloadedTemplateName()
H A DASTImporter.cpp487 ExpectedDecl VisitUsingShadowDecl(UsingShadowDecl *D);
4185 for (UsingShadowDecl *FromShadow : D->shadows()) { in VisitUsingDecl()
4186 if (Expected<UsingShadowDecl *> ToShadowOrErr = import(FromShadow)) in VisitUsingDecl()
4196 ExpectedDecl ASTNodeImporter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
4214 UsingShadowDecl *ToShadow; in VisitUsingShadowDecl()
4222 if (UsingShadowDecl *FromPattern = in VisitUsingShadowDecl()
4224 if (Expected<UsingShadowDecl *> ToPatternOrErr = import(FromPattern)) in VisitUsingShadowDecl()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h51 class UsingShadowDecl; variable
855 const UsingShadowDecl *ShadowDecl = nullptr;
H A DSema.h193 class UsingShadowDecl; variable
4647 void HideUsingShadowDecl(Scope *S, UsingShadowDecl *Shadow);
4650 UsingShadowDecl *&PrevShadow);
4651 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD,
4653 UsingShadowDecl *PrevDecl);
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3312 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument
3314 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P()
5003 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument
5020 AST_MATCHER_P(UsingShadowDecl, hasTargetDecl, in AST_MATCHER_P() argument
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCUDA.cpp561 if (UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(D)) in maybeAddCUDAHostDeviceAttrs()
H A DSemaOverload.cpp973 if (isa<UsingShadowDecl>(OldD)) { in CheckOverload()
3421 if (isa<UsingShadowDecl>(D)) in IsUserDefinedConversion()
4405 if (isa<UsingShadowDecl>(D)) in FindConversionForRefInit()
5721 if (isa<UsingShadowDecl>(D)) in collectViableConversionCandidates()
6528 if (isa<UsingShadowDecl>(Decl)) in AddMethodCandidate()
7636 if (isa<UsingShadowDecl>(D)) in AddTypesConvertedFrom()
7700 if (isa<UsingShadowDecl>(D)) in CollectVRQualifiers()
11661 if (isa<UsingShadowDecl>(Callee)) in AddOverloadedCallCandidate()
11720 assert(isa<UsingShadowDecl>(*I) || in AddOverloadedCallCandidates()
12951 if (isa<UsingShadowDecl>(Func)) in BuildCallToMemberFunction()
[all …]
H A DSemaTemplateInstantiateDecl.cpp2612 UsingShadowDecl *PrevDecl = nullptr; in VisitUsingDecl()
2616 } else if (UsingShadowDecl *OldPrev = in VisitUsingDecl()
2618 PrevDecl = cast_or_null<UsingShadowDecl>(SemaRef.FindInstantiatedDecl( in VisitUsingDecl()
2622 UsingShadowDecl *InstShadow = in VisitUsingDecl()
2634 Decl *TemplateDeclInstantiator::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
4825 static bool isInstantiationOf(UsingShadowDecl *Pattern, in isInstantiationOf()
4826 UsingShadowDecl *Instance, in isInstantiationOf()
4926 if (auto *Shadow = dyn_cast<UsingShadowDecl>(Other)) in isInstantiationOf()
4927 return isInstantiationOf(cast<UsingShadowDecl>(D), Shadow, Ctx); in isInstantiationOf()
5230 if (isa<UsingShadowDecl>(D)) { in FindInstantiatedDecl()
H A DSemaLookup.cpp363 if (Kind == Sema::LookupUsingDeclName && isa<UsingShadowDecl>(D) && in isPreferredLookupResult()
364 !isa<UsingShadowDecl>(Existing)) in isPreferredLookupResult()
3169 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) in LookupLiteralOperator()
3333 if (auto *USD = dyn_cast<UsingShadowDecl>(D)) in ArgumentDependentLookup()
3472 if (isa<UsingShadowDecl>(ND) && isa<UsingDecl>(D) && in checkHidden()
3473 cast<UsingShadowDecl>(ND)->getUsingDecl() == D) in checkHidden()
H A DSemaDeclCXX.cpp7821 if (UsingShadowDecl *shad = dyn_cast<UsingShadowDecl>(*I)) in FindHiddenVirtualMethods()
9557 UsingShadowDecl *&PrevShadow) { in CheckUsingShadowDecl()
9610 if (isa<UsingShadowDecl>(Target)) in CheckUsingShadowDecl()
9611 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
9643 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I)) in CheckUsingShadowDecl()
9723 UsingShadowDecl *Sema::BuildUsingShadowDecl(Scope *S, in BuildUsingShadowDecl()
9729 if (isa<UsingShadowDecl>(Target)) { in BuildUsingShadowDecl()
9730 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
9738 UsingShadowDecl *Shadow; in BuildUsingShadowDecl()
9793 void Sema::HideUsingShadowDecl(Scope *S, UsingShadowDecl *Shadow) { in HideUsingShadowDecl()
[all …]
H A DSemaAccess.cpp1298 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug()
1299 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) { in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaInit.cpp4366 if (isa<UsingShadowDecl>(D)) in TryRefInitWithConversionFunction()
4367 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
4982 if (isa<UsingShadowDecl>(D)) in TryUserDefinedConversion()
4983 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
H A DSemaDecl.cpp1489 return isa<UsingShadowDecl>(D) || in isUsingDecl()
2885 static bool checkUsingShadowRedecl(Sema &S, UsingShadowDecl *OldS, in checkUsingShadowRedecl()
2993 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(OldD)) { in MergeFunctionDecl()
3800 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl()
3807 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl()
14445 if (auto *Shadow = dyn_cast<UsingShadowDecl>(DirectPrevDecl)) { in ActOnTag()
H A DSemaCodeComplete.cpp850 if (const UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(R.Declaration)) { in MaybeAddResult()
973 if (const auto *Using = dyn_cast<UsingShadowDecl>(R.Declaration)) { in AddResult()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp254 if (auto *UsingShadow = llvm::dyn_cast<UsingShadowDecl>(Decl)) { in VisitDeclRefExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp395 void VisitUsingShadowDecl(UsingShadowDecl *D);
1576 D->FirstUsingShadow.setPointer(ReadDeclAs<UsingShadowDecl>()); in VisitUsingDecl()
1592 void ASTDeclReader::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
1598 auto *Pattern = ReadDeclAs<UsingShadowDecl>(); in VisitUsingShadowDecl()
3102 if (const auto *USX = dyn_cast<UsingShadowDecl>(X)) { in isSameEntity()
3103 const auto *USY = cast<UsingShadowDecl>(Y); in isSameEntity()
3680 D = UsingShadowDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp114 void VisitUsingShadowDecl(UsingShadowDecl *D);
1218 void ASTDeclWriter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTContext.cpp2018 clang::UsingShadowDecl *shadow_decl = clang::UsingShadowDecl::Create( in CreateUsingDeclaration()
10043 for (clang::UsingShadowDecl *usd : ud->shadows()) { in DeclContextFindDeclByName()
10158 for (clang::UsingShadowDecl *usd : ud->shadows()) { in CountDeclLevels()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DASTUnit.cpp290 if (isa<UsingShadowDecl>(ND)) in getDeclShowContexts()

12