Home
last modified time | relevance | path

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

12

/freebsd/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.cpp1407 if (auto *Shadow = dyn_cast<UsingShadowDecl>(D)) { in addedMember()
3105 void UsingShadowDecl::anchor() {} in anchor()
3107 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, in UsingShadowDecl() function in UsingShadowDecl
3113 assert(!isa<UsingShadowDecl>(Target)); in UsingShadowDecl()
3119 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, EmptyShell Empty) in UsingShadowDecl() function in UsingShadowDecl
3123 UsingShadowDecl *UsingShadowDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
3125 return new (C, ID) UsingShadowDecl(UsingShadow, C, EmptyShell()); in CreateDeserialized()
3128 BaseUsingDecl *UsingShadowDecl::getIntroducer() const { in getIntroducer()
3129 const UsingShadowDecl *Shadow = this; in getIntroducer()
3131 dyn_cast<UsingShadowDecl>(Shadow->UsingOrNextShadow)) in getIntroducer()
[all …]
H A DQualTypeNames.cpp85 if (UsingShadowDecl *USD = TName.getAsUsingShadowDecl()) in getFullyQualifiedTemplateName()
H A DDeclPrinter.cpp104 void VisitUsingShadowDecl(UsingShadowDecl *D);
1748 void DeclPrinter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
H A DTextNodeDumper.cpp1168 const UsingShadowDecl *USD = TN.getAsUsingShadowDecl(); in dumpBareTemplateName()
2648 void TextNodeDumper::VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3327 class UsingShadowDecl : public NamedDecl, public Redeclarable<UsingShadowDecl> {
3339 using redeclarable_base = Redeclarable<UsingShadowDecl>;
3341 UsingShadowDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
3345 UsingShadowDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
3349 UsingShadowDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
3354 UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, SourceLocation Loc,
3357 UsingShadowDecl(Kind K, ASTContext &C, EmptyShell);
3363 static UsingShadowDecl *Create(ASTContext &C, DeclContext *DC, in Create()
3367 UsingShadowDecl(UsingShadow, C, DC, Loc, Name, Introducer, Target); in Create()
3370 static UsingShadowDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID);
[all …]
H A DTemplateName.h44 class UsingShadowDecl; variable
259 explicit TemplateName(UsingShadowDecl *Using);
314 UsingShadowDecl *getAsUsingShadowDecl() const;
H A DASTContext.h109 class UsingShadowDecl; variable
567 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>
1003 UsingShadowDecl *getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst);
1004 void setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst,
1005 UsingShadowDecl *Pattern);
1648 QualType getUsingType(const UsingShadowDecl *Found,
H A DTextNodeDumper.h389 void VisitUsingShadowDecl(const UsingShadowDecl *D);
H A DJSONNodeDumper.h255 void VisitUsingShadowDecl(const UsingShadowDecl *USD);
H A DASTNodeTraverser.h738 void VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
H A DType.h137 class UsingShadowDecl;
5571 UsingShadowDecl *Found;
5575 UsingType(const UsingShadowDecl *Found, QualType Underlying, QualType Canon);
5578 UsingShadowDecl *getFoundDecl() const { return Found; }
5592 static void Profile(llvm::FoldingSetNodeID &ID, const UsingShadowDecl *Found,
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h49 class UsingShadowDecl; variable
877 const UsingShadowDecl *ShadowDecl = nullptr;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp772 if (UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(D)) in maybeAddHostDeviceAttrs()
H A DSemaTemplateInstantiateDecl.cpp3322 UsingShadowDecl *PrevDecl = nullptr; in VisitBaseUsingDecls()
3327 if (UsingShadowDecl *OldPrev = getPreviousDeclForInstantiation(Shadow)) in VisitBaseUsingDecls()
3328 PrevDecl = cast_or_null<UsingShadowDecl>(SemaRef.FindInstantiatedDecl( in VisitBaseUsingDecls()
3331 UsingShadowDecl *InstShadow = SemaRef.BuildUsingShadowDecl( in VisitBaseUsingDecls()
3446 Decl *TemplateDeclInstantiator::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
5936 static bool isInstantiationOf(UsingShadowDecl *Pattern, in isInstantiationOf()
5937 UsingShadowDecl *Instance, in isInstantiationOf()
6037 if (auto *Shadow = dyn_cast<UsingShadowDecl>(Other)) in isInstantiationOf()
6038 return isInstantiationOf(cast<UsingShadowDecl>(D), Shadow, Ctx); in isInstantiationOf()
6339 if (isa<UsingShadowDecl>(D)) { in FindInstantiatedDecl()
H A DSemaOverload.cpp1047 if (auto *UD = dyn_cast<UsingShadowDecl>(Op)) in shouldAddReversedEqEq()
1180 if (isa<UsingShadowDecl>(OldD)) { in CheckOverload()
1187 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
1207 HideUsingShadowDecl(S, cast<UsingShadowDecl>(*I)); in CheckOverload()
3836 if (isa<UsingShadowDecl>(D)) in IsUserDefinedConversion()
3837 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
4925 if (isa<UsingShadowDecl>(D)) in FindConversionForRefInit()
4926 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
6505 if (isa<UsingShadowDecl>(D)) in collectViableConversionCandidates()
6506 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates()
[all …]
H A DSemaLookup.cpp376 if (Kind == Sema::LookupUsingDeclName && isa<UsingShadowDecl>(D) && in isPreferredLookupResult()
377 !isa<UsingShadowDecl>(Existing)) in isPreferredLookupResult()
3615 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) in LookupLiteralOperator()
3820 if (auto *USD = dyn_cast<UsingShadowDecl>(D)) in ArgumentDependentLookup()
4000 if (isa<UsingShadowDecl>(ND) && isa<UsingDecl>(D) && in checkHidden()
4001 cast<UsingShadowDecl>(ND)->getIntroducer() == D) in checkHidden()
H A DSemaAccess.cpp1318 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug()
1319 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaDeclCXX.cpp10295 if (UsingShadowDecl *shad = dyn_cast<UsingShadowDecl>(*I)) in FindHiddenVirtualMethods()
12346 UsingShadowDecl *&PrevShadow) { in CheckUsingShadowDecl()
12363 // specialization. The UsingShadowDecl in D<T> then points directly in CheckUsingShadowDecl()
12400 if (isa<UsingShadowDecl>(Target)) in CheckUsingShadowDecl()
12401 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
12433 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I)) in CheckUsingShadowDecl()
12526 UsingShadowDecl *Sema::BuildUsingShadowDecl(Scope *S, BaseUsingDecl *BUD, in BuildUsingShadowDecl()
12528 UsingShadowDecl *PrevDec in BuildUsingShadowDecl()
[all...]
H A DSemaModule.cpp959 if (auto *USD = dyn_cast<UsingShadowDecl>(D)) { in checkExportedDecl()
H A DSemaCXXScopeSpec.cpp655 if (const auto *USD = dyn_cast<UsingShadowDecl>(SD)) { in BuildCXXNestedNameSpecifier()
H A DSemaDecl.cpp394 UsingShadowDecl *FoundUsingShadow = nullptr; in getTypeName()
477 FoundUsingShadow = dyn_cast<UsingShadowDecl>(*Res); in getTypeName()
501 FoundUsingShadow = dyn_cast<UsingShadowDecl>(*Result.begin()); in getTypeName()
1113 UsingShadowDecl *FoundUsingShadow = in ClassifyName()
1114 dyn_cast<UsingShadowDecl>(*Result.begin()); in ClassifyName()
1143 if (const auto *USD = dyn_cast<UsingShadowDecl>(Found)) in ClassifyName()
1179 if (auto *USD = dyn_cast<UsingShadowDecl>(Result.getRepresentativeDecl())) in ClassifyName()
1773 return isa<UsingShadowDecl>(D) || in isUsingDeclNotAtClassScope()
3442 static bool checkUsingShadowRedecl(Sema &S, UsingShadowDecl *OldS, in checkUsingShadowRedecl()
3540 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(OldD)) { in MergeFunctionDecl()
[all …]
/freebsd/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()
6680 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument
6698 AST_MATCHER_P(UsingShadowDecl, hasTargetDecl, in AST_MATCHER_P() argument
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp406 void VisitUsingShadowDecl(UsingShadowDecl *D);
1880 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>()); in VisitUsingDecl()
1892 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>()); in VisitUsingEnumDecl()
1907 void ASTDeclReader::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
1913 auto *Pattern = readDeclAs<UsingShadowDecl>(); in VisitUsingShadowDecl()
3895 D = UsingShadowDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h561 void EmitUsingShadowDecl(const UsingShadowDecl &USD);

12