Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DTemplateName.cpp117 TemplateName::TemplateName(UsingShadowDecl *Using) : Storage(Using) {} in TemplateName()
123 if (isa<UsingShadowDecl>(ND)) in getKind()
147 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(TemplateOrUsing)) in getAsTemplateDecl()
160 if (UsingShadowDecl *USD = getAsUsingShadowDecl()) in getAsTemplateDecl()
208 UsingShadowDecl *TemplateName::getAsUsingShadowDecl() const { in getAsUsingShadowDecl()
210 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) in getAsUsingShadowDecl()
H A DDeclCXX.cpp1364 if (auto *Shadow = dyn_cast<UsingShadowDecl>(D)) { in addedMember()
3074 void UsingShadowDecl::anchor() {} in anchor()
3076 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, in UsingShadowDecl() function in UsingShadowDecl
3082 assert(!isa<UsingShadowDecl>(Target)); in UsingShadowDecl()
3088 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, EmptyShell Empty) in UsingShadowDecl() function in UsingShadowDecl
3092 UsingShadowDecl *
3097 BaseUsingDecl *UsingShadowDecl::getIntroducer() const { in getIntroducer()
3098 const UsingShadowDecl *Shadow = this; in getIntroducer()
3126 void BaseUsingDecl::addShadowDecl(UsingShadowDecl *S) { in addShadowDecl()
3143 dyn_cast<UsingShadowDecl>(S->UsingOrNextShadow)); in removeShadowDecl()
[all …]
H A DQualTypeNames.cpp84 if (UsingShadowDecl *USD = TName.getAsUsingShadowDecl()) in getFullyQualifiedTemplateName()
H A DDeclPrinter.cpp115 void VisitUsingShadowDecl(UsingShadowDecl *D);
1786 void DeclPrinter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
H A DASTContext.cpp1508 UsingShadowDecl *
1509 ASTContext::getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst) { in getInstantiatedFromUsingShadowDecl()
1514 ASTContext::setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst, in setInstantiatedFromUsingShadowDecl()
1515 UsingShadowDecl *Pattern) { in setInstantiatedFromUsingShadowDecl()
4677 QualType ASTContext::getUsingType(const UsingShadowDecl *Found, in getUsingType()
6690 if (const auto *USX = dyn_cast<UsingShadowDecl>(X)) { in isSameEntity()
6691 const auto *USY = cast<UsingShadowDecl>(Y); in isSameEntity()
9169 (isa<UsingShadowDecl>(D) && in getOverloadedTemplateName()
13177 const UsingShadowDecl *CD = in getCommonSugarTypeNode()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3313 class UsingShadowDecl : public NamedDecl, public Redeclarable<UsingShadowDecl> {
3331 UsingShadowDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
3368 UsingShadowDecl *getCanonicalDecl() override { in getCanonicalDecl()
3371 const UsingShadowDecl *getCanonicalDecl() const { in getCanonicalDecl()
3397 UsingShadowDecl *getNextUsingShadowDecl() const { in getNextUsingShadowDecl()
3440 UsingShadowDecl *Current = nullptr;
3443 using value_type = UsingShadowDecl *;
3444 using reference = UsingShadowDecl *;
3445 using pointer = UsingShadowDecl *;
3492 void addShadowDecl(UsingShadowDecl *S);
[all …]
H A DTemplateName.h44 class UsingShadowDecl; variable
258 explicit TemplateName(UsingShadowDecl *Using);
313 UsingShadowDecl *getAsUsingShadowDecl() const;
H A DASTContext.h108 class UsingShadowDecl; variable
547 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>
974 UsingShadowDecl *getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst);
975 void setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst,
976 UsingShadowDecl *Pattern);
1586 QualType getUsingType(const UsingShadowDecl *Found,
H A DTextNodeDumper.h375 void VisitUsingShadowDecl(const UsingShadowDecl *D);
H A DJSONNodeDumper.h252 void VisitUsingShadowDecl(const UsingShadowDecl *USD);
H A DASTNodeTraverser.h647 void VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
H A DType.h133 class UsingShadowDecl;
4716 UsingShadowDecl *Found;
4720 UsingType(const UsingShadowDecl *Found, QualType Underlying, QualType Canon);
4723 UsingShadowDecl *getFoundDecl() const { return Found; }
4737 static void Profile(llvm::FoldingSetNodeID &ID, const UsingShadowDecl *Found,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h49 class UsingShadowDecl; variable
875 const UsingShadowDecl *ShadowDecl = nullptr;
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp755 if (UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(D)) in maybeAddCUDAHostDeviceAttrs()
H A DSemaTemplateInstantiateDecl.cpp3276 UsingShadowDecl *PrevDecl = nullptr; in VisitBaseUsingDecls()
3281 if (UsingShadowDecl *OldPrev = getPreviousDeclForInstantiation(Shadow)) in VisitBaseUsingDecls()
3282 PrevDecl = cast_or_null<UsingShadowDecl>(SemaRef.FindInstantiatedDecl( in VisitBaseUsingDecls()
3285 UsingShadowDecl *InstShadow = SemaRef.BuildUsingShadowDecl( in VisitBaseUsingDecls()
3396 Decl *TemplateDeclInstantiator::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
5954 static bool isInstantiationOf(UsingShadowDecl *Pattern, in isInstantiationOf()
5955 UsingShadowDecl *Instance, in isInstantiationOf()
6055 if (auto *Shadow = dyn_cast<UsingShadowDecl>(Other)) in isInstantiationOf()
6056 return isInstantiationOf(cast<UsingShadowDecl>(D), Shadow, Ctx); in isInstantiationOf()
6372 if (isa<UsingShadowDecl>(D)) { in FindInstantiatedDecl()
H A DSemaOverload.cpp1135 if (isa<UsingShadowDecl>(OldD)) { in CheckOverload()
3802 if (isa<UsingShadowDecl>(D)) in IsUserDefinedConversion()
4898 if (isa<UsingShadowDecl>(D)) in FindConversionForRefInit()
6474 if (isa<UsingShadowDecl>(D)) in collectViableConversionCandidates()
7329 if (isa<UsingShadowDecl>(Decl)) in AddMethodCandidate()
8622 if (isa<UsingShadowDecl>(D)) in AddTypesConvertedFrom()
8694 if (isa<UsingShadowDecl>(D)) in CollectVRQualifiers()
13430 if (isa<UsingShadowDecl>(Callee)) in AddOverloadedCallCandidate()
13489 assert(isa<UsingShadowDecl>(*I) || in AddOverloadedCallCandidates()
15322 if (isa<UsingShadowDecl>(Func)) in BuildCallToMemberFunction()
[all …]
H A DSemaLookup.cpp374 if (Kind == Sema::LookupUsingDeclName && isa<UsingShadowDecl>(D) && in isPreferredLookupResult()
375 !isa<UsingShadowDecl>(Existing)) in isPreferredLookupResult()
3681 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) in LookupLiteralOperator()
3886 if (auto *USD = dyn_cast<UsingShadowDecl>(D)) in ArgumentDependentLookup()
4066 if (isa<UsingShadowDecl>(ND) && isa<UsingDecl>(D) && in checkHidden()
4067 cast<UsingShadowDecl>(ND)->getIntroducer() == D) in checkHidden()
H A DSemaAccess.cpp1320 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug()
1321 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaCXXScopeSpec.cpp720 if (const auto *USD = dyn_cast<UsingShadowDecl>(SD)) { in BuildCXXNestedNameSpecifier()
H A DSemaModule.cpp853 if (auto *USD = dyn_cast<UsingShadowDecl>(D)) { in checkExportedDecl()
H A DSemaDeclCXX.cpp10387 if (UsingShadowDecl *shad = dyn_cast<UsingShadowDecl>(*I)) in FindHiddenVirtualMethods()
12432 UsingShadowDecl *&PrevShadow) { in CheckUsingShadowDecl()
12486 if (isa<UsingShadowDecl>(Target)) in CheckUsingShadowDecl()
12487 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
12519 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I)) in CheckUsingShadowDecl()
12618 if (isa<UsingShadowDecl>(Target)) { in BuildUsingShadowDecl()
12619 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
12627 UsingShadowDecl *Shadow; in BuildUsingShadowDecl()
12683 void Sema::HideUsingShadowDecl(Scope *S, UsingShadowDecl *Shadow) { in HideUsingShadowDecl()
13078 UsingShadowDecl *PrevDecl = nullptr; in BuildUsingDeclaration()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp273 if (auto *UsingShadow = llvm::dyn_cast<UsingShadowDecl>(Decl)) { in VisitDeclRefExpr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4283 internal::Matcher<UsingShadowDecl>, Inner) { in AST_POLYMORPHIC_MATCHER_P() argument
4285 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_POLYMORPHIC_MATCHER_P()
6656 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument
6674 AST_MATCHER_P(UsingShadowDecl, hasTargetDecl, in AST_MATCHER_P() argument
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp411 void VisitUsingShadowDecl(UsingShadowDecl *D);
1893 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>()); in VisitUsingDecl()
1905 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>()); in VisitUsingEnumDecl()
1920 void ASTDeclReader::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
1926 auto *Pattern = readDeclAs<UsingShadowDecl>(); in VisitUsingShadowDecl()
3870 D = UsingShadowDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h545 void EmitUsingShadowDecl(const UsingShadowDecl &USD);

12