Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTemplateName.cpp167 TemplateName::TemplateName(UsingShadowDecl *Using) : Storage(Using) {} in TemplateName()
175 if (isa<UsingShadowDecl>(ND)) in getKind()
240 if (auto *USD = dyn_cast<UsingShadowDecl>(D)) in desugar()
296 UsingShadowDecl *TemplateName::getAsUsingShadowDecl() const { in getAsUsingShadowDecl()
298 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) in getAsUsingShadowDecl()
H A DDeclCXX.cpp1479 if (auto *Shadow = dyn_cast<UsingShadowDecl>(D)) { in addedMember()
3330 void UsingShadowDecl::anchor() {} in anchor()
3332 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, in UsingShadowDecl() function in UsingShadowDecl
3338 assert(!isa<UsingShadowDecl>(Target)); in UsingShadowDecl()
3344 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, EmptyShell Empty) in UsingShadowDecl() function in UsingShadowDecl
3348 UsingShadowDecl *UsingShadowDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
3350 return new (C, ID) UsingShadowDecl(UsingShadow, C, EmptyShell()); in CreateDeserialized()
3353 BaseUsingDecl *UsingShadowDecl::getIntroducer() const { in getIntroducer()
3354 const UsingShadowDecl *Shadow = this; in getIntroducer()
3356 dyn_cast<UsingShadowDecl>(Shadow->UsingOrNextShadow)) in getIntroducer()
[all …]
H A DQualTypeNames.cpp82 if (UsingShadowDecl *USD = TName.getAsUsingShadowDecl()) in getFullyQualifiedTemplateName()
H A DDeclPrinter.cpp105 void VisitUsingShadowDecl(UsingShadowDecl *D);
1784 void DeclPrinter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3390 class UsingShadowDecl : public NamedDecl, public Redeclarable<UsingShadowDecl> {
3402 using redeclarable_base = Redeclarable<UsingShadowDecl>;
3404 UsingShadowDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
3408 UsingShadowDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
3412 UsingShadowDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
3417 UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, SourceLocation Loc,
3420 UsingShadowDecl(Kind K, ASTContext &C, EmptyShell);
3426 static UsingShadowDecl *Create(ASTContext &C, DeclContext *DC, in Create()
3430 UsingShadowDecl(UsingShadow, C, DC, Loc, Name, Introducer, Target); in Create()
3433 static UsingShadowDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID);
[all …]
H A DTemplateName.h47 class UsingShadowDecl; variable
282 explicit TemplateName(UsingShadowDecl *Using);
344 UsingShadowDecl *getAsUsingShadowDecl() const;
H A DASTContext.h111 class UsingShadowDecl; variable
587 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>
1096 UsingShadowDecl *getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst);
1097 void setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst,
1098 UsingShadowDecl *Pattern);
1767 QualType getUsingType(const UsingShadowDecl *Found,
H A DTextNodeDumper.h390 void VisitUsingShadowDecl(const UsingShadowDecl *D);
H A DJSONNodeDumper.h255 void VisitUsingShadowDecl(const UsingShadowDecl *USD);
H A DASTNodeTraverser.h774 void VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
H A DType.h142 class UsingShadowDecl;
5783 UsingShadowDecl *Found;
5787 UsingType(const UsingShadowDecl *Found, QualType Underlying, QualType Canon);
5790 UsingShadowDecl *getFoundDecl() const { return Found; }
5804 static void Profile(llvm::FoldingSetNodeID &ID, const UsingShadowDecl *Found,
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h49 class UsingShadowDecl; variable
876 const UsingShadowDecl *ShadowDecl = nullptr;
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DTemplateArgumentHasher.cpp144 UsingShadowDecl *USD = Name.getAsUsingShadowDecl(); in AddTemplateName()
H A DASTReaderDecl.cpp397 void VisitUsingShadowDecl(UsingShadowDecl *D);
1901 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>()); in VisitUsingDecl()
1913 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>()); in VisitUsingEnumDecl()
1928 void ASTDeclReader::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
1934 auto *Pattern = readDeclAs<UsingShadowDecl>(); in VisitUsingShadowDecl()
3972 D = UsingShadowDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp793 if (UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(D)) in maybeAddHostDeviceAttrs()
H A DSemaLookup.cpp378 if (Kind == Sema::LookupUsingDeclName && isa<UsingShadowDecl>(D) && in isPreferredLookupResult()
379 !isa<UsingShadowDecl>(Existing)) in isPreferredLookupResult()
3708 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) in LookupLiteralOperator()
3914 if (auto *USD = dyn_cast<UsingShadowDecl>(D)) in ArgumentDependentLookup()
4095 if (isa<UsingShadowDecl>(ND) && isa<UsingDecl>(D) && in checkHidden()
4096 cast<UsingShadowDecl>(ND)->getIntroducer() == D) in checkHidden()
H A DSemaTemplateInstantiateDecl.cpp3867 UsingShadowDecl *PrevDecl = nullptr; in VisitBaseUsingDecls()
3872 if (UsingShadowDecl *OldPrev = getPreviousDeclForInstantiation(Shadow)) in VisitBaseUsingDecls()
3873 PrevDecl = cast_or_null<UsingShadowDecl>(SemaRef.FindInstantiatedDecl( in VisitBaseUsingDecls()
3876 UsingShadowDecl *InstShadow = SemaRef.BuildUsingShadowDecl( in VisitBaseUsingDecls()
3991 Decl *TemplateDeclInstantiator::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
6618 static bool isInstantiationOf(UsingShadowDecl *Pattern, in isInstantiationOf()
6619 UsingShadowDecl *Instance, in isInstantiationOf()
6719 if (auto *Shadow = dyn_cast<UsingShadowDecl>(Other)) in isInstantiationOf()
6720 return isInstantiationOf(cast<UsingShadowDecl>(D), Shadow, Ctx); in isInstantiationOf()
7030 if (isa<UsingShadowDecl>(D)) { in FindInstantiatedDecl()
H A DSemaOverload.cpp1076 if (auto *UD = dyn_cast<UsingShadowDecl>(Op)) in shouldAddReversedEqEq()
1213 if (isa<UsingShadowDecl>(OldD)) { in CheckOverload()
1220 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
1240 HideUsingShadowDecl(S, cast<UsingShadowDecl>(*I)); in CheckOverload()
4068 if (isa<UsingShadowDecl>(D)) in IsUserDefinedConversion()
4069 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
5156 if (isa<UsingShadowDecl>(D)) in FindConversionForRefInit()
5157 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
6756 if (isa<UsingShadowDecl>(D)) in collectViableConversionCandidates()
6757 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates()
[all …]
H A DSemaAccess.cpp1317 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug()
1318 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaModule.cpp973 if (auto *USD = dyn_cast<UsingShadowDecl>(D)) { in checkExportedDecl()
H A DSemaCXXScopeSpec.cpp650 if (const auto *USD = dyn_cast<UsingShadowDecl>(SD)) { in BuildCXXNestedNameSpecifier()
H A DSemaDeclCXX.cpp10506 if (UsingShadowDecl *shad = dyn_cast<UsingShadowDecl>(*I)) in FindHiddenVirtualMethods()
12673 UsingShadowDecl *&PrevShadow) { in CheckUsingShadowDecl()
12727 if (isa<UsingShadowDecl>(Target)) in CheckUsingShadowDecl()
12728 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
12760 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I)) in CheckUsingShadowDecl()
12853 UsingShadowDecl *Sema::BuildUsingShadowDecl(Scope *S, BaseUsingDecl *BUD, in BuildUsingShadowDecl()
12855 UsingShadowDecl *PrevDecl) { in BuildUsingShadowDecl()
12858 if (isa<UsingShadowDecl>(Target)) { in BuildUsingShadowDecl()
12859 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
12860 assert(!isa<UsingShadowDecl>(Target) && "nested shadow declaration"); in BuildUsingShadowDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp272 if (auto *UsingShadow = llvm::dyn_cast<UsingShadowDecl>(Decl)) { in VisitDeclRefExpr()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4376 internal::Matcher<UsingShadowDecl>, Inner) { in AST_POLYMORPHIC_MATCHER_P() argument
4378 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_POLYMORPHIC_MATCHER_P()
6726 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument
6744 AST_MATCHER_P(UsingShadowDecl, hasTargetDecl, in AST_MATCHER_P() argument
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h586 void EmitUsingShadowDecl(const UsingShadowDecl &USD);

12