Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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.cpp1352 if (auto *Shadow = dyn_cast<UsingShadowDecl>(D)) { in addedMember()
3020 void UsingShadowDecl::anchor() {} in anchor()
3022 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, in UsingShadowDecl() function in UsingShadowDecl
3028 assert(!isa<UsingShadowDecl>(Target)); in UsingShadowDecl()
3034 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, EmptyShell Empty) in UsingShadowDecl() function in UsingShadowDecl
3038 UsingShadowDecl *
3039 UsingShadowDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
3040 return new (C, ID) UsingShadowDecl(UsingShadow, C, EmptyShell()); in CreateDeserialized()
3043 BaseUsingDecl *UsingShadowDecl::getIntroducer() const { in getIntroducer()
3044 const UsingShadowDecl *Shadow = this; in getIntroducer()
[all …]
H A DQualTypeNames.cpp84 if (UsingShadowDecl *USD = TName.getAsUsingShadowDecl()) in getFullyQualifiedTemplateName()
H A DDeclPrinter.cpp103 void VisitUsingShadowDecl(UsingShadowDecl *D);
1647 void DeclPrinter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
H A DASTContext.cpp1569 UsingShadowDecl *
1570 ASTContext::getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst) { in getInstantiatedFromUsingShadowDecl()
1571 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>::const_iterator Pos in getInstantiatedFromUsingShadowDecl()
1580 ASTContext::setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst, in setInstantiatedFromUsingShadowDecl()
1581 UsingShadowDecl *Pattern) { in setInstantiatedFromUsingShadowDecl()
4699 QualType ASTContext::getUsingType(const UsingShadowDecl *Found, in getUsingType()
6691 if (const auto *USX = dyn_cast<UsingShadowDecl>(X)) { in isSameEntity()
6692 const auto *USY = cast<UsingShadowDecl>(Y); in isSameEntity()
9159 (isa<UsingShadowDecl>(D) && in getOverloadedTemplateName()
13025 const UsingShadowDecl *CD = in getCommonSugarTypeNode()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclCXX.h3234 class UsingShadowDecl : public NamedDecl, public Redeclarable<UsingShadowDecl> {
3246 using redeclarable_base = Redeclarable<UsingShadowDecl>;
3248 UsingShadowDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
3252 UsingShadowDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
3256 UsingShadowDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
3261 UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, SourceLocation Loc,
3264 UsingShadowDecl(Kind K, ASTContext &C, EmptyShell);
3270 static UsingShadowDecl *Create(ASTContext &C, DeclContext *DC, in Create()
3274 UsingShadowDecl(UsingShadow, C, DC, Loc, Name, Introducer, Target); in Create()
3277 static UsingShadowDecl *CreateDeserialized(ASTContext &C, unsigned ID);
[all …]
H A DTemplateName.h44 class UsingShadowDecl; variable
258 explicit TemplateName(UsingShadowDecl *Using);
313 UsingShadowDecl *getAsUsingShadowDecl() const;
H A DASTContext.h108 class UsingShadowDecl; variable
541 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>
968 UsingShadowDecl *getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst);
969 void setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst,
970 UsingShadowDecl *Pattern);
1567 QualType getUsingType(const UsingShadowDecl *Found,
H A DTextNodeDumper.h366 void VisitUsingShadowDecl(const UsingShadowDecl *D);
H A DJSONNodeDumper.h244 void VisitUsingShadowDecl(const UsingShadowDecl *USD);
H A DASTNodeTraverser.h641 void VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
H A DType.h132 class UsingShadowDecl;
4510 UsingShadowDecl *Found;
4514 UsingType(const UsingShadowDecl *Found, QualType Underlying, QualType Canon);
4517 UsingShadowDecl *getFoundDecl() const { return Found; }
4531 static void Profile(llvm::FoldingSetNodeID &ID, const UsingShadowDecl *Found,
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h49 class UsingShadowDecl; variable
867 const UsingShadowDecl *ShadowDecl = nullptr;
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaCUDA.cpp679 if (UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(D)) in maybeAddCUDAHostDeviceAttrs()
H A DSemaOverload.cpp957 if(auto* UD = dyn_cast<UsingShadowDecl>(Op)) in shouldAddReversedEqEq()
1123 if (isa<UsingShadowDecl>(OldD)) { in CheckOverload()
1130 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
1150 HideUsingShadowDecl(S, cast<UsingShadowDecl>(*I)); in CheckOverload()
3646 if (isa<UsingShadowDecl>(D)) in IsUserDefinedConversion()
3647 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
4729 if (isa<UsingShadowDecl>(D)) in FindConversionForRefInit()
4730 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
6153 if (isa<UsingShadowDecl>(D)) in collectViableConversionCandidates()
6154 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates()
[all …]
H A DSemaTemplateInstantiateDecl.cpp3204 UsingShadowDecl *PrevDecl = nullptr; in VisitBaseUsingDecls()
3209 if (UsingShadowDecl *OldPrev = getPreviousDeclForInstantiation(Shadow)) in VisitBaseUsingDecls()
3210 PrevDecl = cast_or_null<UsingShadowDecl>(SemaRef.FindInstantiatedDecl( in VisitBaseUsingDecls()
3213 UsingShadowDecl *InstShadow = SemaRef.BuildUsingShadowDecl( in VisitBaseUsingDecls()
3324 Decl *TemplateDeclInstantiator::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
5852 static bool isInstantiationOf(UsingShadowDecl *Pattern, in isInstantiationOf()
5853 UsingShadowDecl *Instance, in isInstantiationOf()
5953 if (auto *Shadow = dyn_cast<UsingShadowDecl>(Other)) in isInstantiationOf()
5954 return isInstantiationOf(cast<UsingShadowDecl>(D), Shadow, Ctx); in isInstantiationOf()
6270 if (isa<UsingShadowDecl>(D)) { in FindInstantiatedDecl()
H A DSemaLookup.cpp373 if (Kind == Sema::LookupUsingDeclName && isa<UsingShadowDecl>(D) && in isPreferredLookupResult()
374 !isa<UsingShadowDecl>(Existing)) in isPreferredLookupResult()
3664 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) in LookupLiteralOperator()
3869 if (auto *USD = dyn_cast<UsingShadowDecl>(D)) in ArgumentDependentLookup()
4047 if (isa<UsingShadowDecl>(ND) && isa<UsingDecl>(D) && in checkHidden()
4048 cast<UsingShadowDecl>(ND)->getIntroducer() == D) in checkHidden()
H A DSemaAccess.cpp1310 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug()
1311 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaDeclCXX.cpp10090 if (UsingShadowDecl *shad = dyn_cast<UsingShadowDecl>(*I)) in FindHiddenVirtualMethods()
11993 UsingShadowDecl *&PrevShadow) { in CheckUsingShadowDecl()
12047 if (isa<UsingShadowDecl>(Target)) in CheckUsingShadowDecl()
12048 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
12080 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I)) in CheckUsingShadowDecl()
12174 UsingShadowDecl *Sema::BuildUsingShadowDecl(Scope *S, BaseUsingDecl *BUD, in BuildUsingShadowDecl()
12176 UsingShadowDecl *PrevDecl) { in BuildUsingShadowDecl()
12179 if (isa<UsingShadowDecl>(Target)) { in BuildUsingShadowDecl()
12180 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
12181 assert(!isa<UsingShadowDecl>(Target) && "nested shadow declaration"); in BuildUsingShadowDecl()
[all …]
H A DSemaModule.cpp907 if (auto *USD = dyn_cast<UsingShadowDecl>(D)) { in checkExportedDecl()
H A DSemaCXXScopeSpec.cpp744 if (const auto *USD = dyn_cast<UsingShadowDecl>(SD)) { in BuildCXXNestedNameSpecifier()
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4187 internal::Matcher<UsingShadowDecl>, Inner) { in AST_POLYMORPHIC_MATCHER_P() argument
4189 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_POLYMORPHIC_MATCHER_P()
6407 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument
6425 AST_MATCHER_P(UsingShadowDecl, hasTargetDecl, in AST_MATCHER_P() argument
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp272 if (auto *UsingShadow = llvm::dyn_cast<UsingShadowDecl>(Decl)) { in VisitDeclRefExpr()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp400 void VisitUsingShadowDecl(UsingShadowDecl *D);
1816 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>()); in VisitUsingDecl()
1828 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>()); in VisitUsingEnumDecl()
1843 void ASTDeclReader::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
1849 auto *Pattern = readDeclAs<UsingShadowDecl>(); in VisitUsingShadowDecl()
3702 D = UsingShadowDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.h524 void EmitUsingShadowDecl(const UsingShadowDecl &USD);

12