/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | DeclCXX.h | 3178 class UsingShadowDecl : public NamedDecl, public Redeclarable<UsingShadowDecl> { 3190 using redeclarable_base = Redeclarable<UsingShadowDecl>; 3192 UsingShadowDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl() 3196 UsingShadowDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl() 3200 UsingShadowDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl() 3205 UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, SourceLocation Loc, 3207 UsingShadowDecl(Kind K, ASTContext &C, EmptyShell); 3213 static UsingShadowDecl *Create(ASTContext &C, DeclContext *DC, in Create() 3216 return new (C, DC) UsingShadowDecl(UsingShadow, C, DC, Loc, Using, Target); in Create() 3219 static UsingShadowDecl *CreateDeserialized(ASTContext &C, unsigned ID); [all …]
|
H A D | ASTContext.h | 136 class UsingShadowDecl; variable 520 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*> 909 void setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst, 910 UsingShadowDecl *Pattern); 911 UsingShadowDecl *getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst);
|
H A D | TextNodeDumper.h | 353 void VisitUsingShadowDecl(const UsingShadowDecl *D);
|
H A D | JSONNodeDumper.h | 237 void VisitUsingShadowDecl(const UsingShadowDecl *USD);
|
H A D | ASTNodeTraverser.h | 604 void VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | DeclCXX.cpp | 1364 if (auto *Shadow = dyn_cast<UsingShadowDecl>(D)) { in addedMember() 2983 void UsingShadowDecl::anchor() {} in anchor() 2985 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, in UsingShadowDecl() function in UsingShadowDecl 2995 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, EmptyShell Empty) in UsingShadowDecl() function in UsingShadowDecl 2999 UsingShadowDecl * 3000 UsingShadowDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 3001 return new (C, ID) UsingShadowDecl(UsingShadow, C, EmptyShell()); in CreateDeserialized() 3004 UsingDecl *UsingShadowDecl::getUsingDecl() const { in getUsingDecl() 3005 const UsingShadowDecl *Shadow = this; in getUsingDecl() 3007 dyn_cast<UsingShadowDecl>(Shadow->UsingOrNextShadow)) in getUsingDecl() [all …]
|
H A D | DeclPrinter.cpp | 101 void VisitUsingShadowDecl(UsingShadowDecl *D); 1626 void DeclPrinter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
|
H A D | Decl.cpp | 1816 while (auto *UD = dyn_cast<UsingShadowDecl>(ND)) in getUnderlyingDeclImpl() 1833 if (isa<UsingShadowDecl>(D)) in isCXXInstanceMember() 1834 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
|
H A D | ASTContext.cpp | 1574 UsingShadowDecl * 1575 ASTContext::getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst) { in getInstantiatedFromUsingShadowDecl() 1576 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>::const_iterator Pos in getInstantiatedFromUsingShadowDecl() 1585 ASTContext::setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst, in setInstantiatedFromUsingShadowDecl() 1586 UsingShadowDecl *Pattern) { in setInstantiatedFromUsingShadowDecl() 8399 (isa<UsingShadowDecl>(D) && in getOverloadedTemplateName()
|
H A D | ASTImporter.cpp | 513 ExpectedDecl VisitUsingShadowDecl(UsingShadowDecl *D); 4604 for (UsingShadowDecl *FromShadow : D->shadows()) { in VisitUsingDecl() 4605 if (Expected<UsingShadowDecl *> ToShadowOrErr = import(FromShadow)) in VisitUsingDecl() 4615 ExpectedDecl ASTNodeImporter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl() 4633 UsingShadowDecl *ToShadow; in VisitUsingShadowDecl() 4641 if (UsingShadowDecl *FromPattern = in VisitUsingShadowDecl() 4643 if (Expected<UsingShadowDecl *> ToPatternOrErr = import(FromPattern)) in VisitUsingShadowDecl()
|
H A D | JSONNodeDumper.cpp | 759 void JSONNodeDumper::VisitUsingShadowDecl(const UsingShadowDecl *USD) { in VisitUsingShadowDecl()
|
H A D | TextNodeDumper.cpp | 2073 void TextNodeDumper::VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
H A D | CodeCompleteConsumer.h | 50 class UsingShadowDecl; variable 856 const UsingShadowDecl *ShadowDecl = nullptr;
|
H A D | Sema.h | 205 class UsingShadowDecl; variable 5677 void HideUsingShadowDecl(Scope *S, UsingShadowDecl *Shadow); 5680 UsingShadowDecl *&PrevShadow); 5681 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD, 5683 UsingShadowDecl *PrevDecl);
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaCUDA.cpp | 646 if (UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(D)) in maybeAddCUDAHostDeviceAttrs()
|
H A D | SemaTemplateInstantiateDecl.cpp | 3068 UsingShadowDecl *PrevDecl = nullptr; in VisitUsingDecl() 3072 } else if (UsingShadowDecl *OldPrev = in VisitUsingDecl() 3074 PrevDecl = cast_or_null<UsingShadowDecl>(SemaRef.FindInstantiatedDecl( in VisitUsingDecl() 3078 UsingShadowDecl *InstShadow = in VisitUsingDecl() 3090 Decl *TemplateDeclInstantiator::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl() 5620 static bool isInstantiationOf(UsingShadowDecl *Pattern, in isInstantiationOf() 5621 UsingShadowDecl *Instance, in isInstantiationOf() 5721 if (auto *Shadow = dyn_cast<UsingShadowDecl>(Other)) in isInstantiationOf() 5722 return isInstantiationOf(cast<UsingShadowDecl>(D), Shadow, Ctx); in isInstantiationOf() 6035 if (isa<UsingShadowDecl>(D)) { in FindInstantiatedDecl()
|
H A D | SemaOverload.cpp | 1038 if (isa<UsingShadowDecl>(OldD)) { in CheckOverload() 1045 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload() 1065 HideUsingShadowDecl(S, cast<UsingShadowDecl>(*I)); in CheckOverload() 3520 if (isa<UsingShadowDecl>(D)) in IsUserDefinedConversion() 3521 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion() 4624 if (isa<UsingShadowDecl>(D)) in FindConversionForRefInit() 4625 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit() 5996 if (isa<UsingShadowDecl>(D)) in collectViableConversionCandidates() 5997 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates() 6823 if (isa<UsingShadowDecl>(Decl)) in AddMethodCandidate() [all …]
|
H A D | SemaLookup.cpp | 370 if (Kind == Sema::LookupUsingDeclName && isa<UsingShadowDecl>(D) && in isPreferredLookupResult() 371 !isa<UsingShadowDecl>(Existing)) in isPreferredLookupResult() 3396 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) in LookupLiteralOperator() 3595 if (auto *USD = dyn_cast<UsingShadowDecl>(D)) in ArgumentDependentLookup() 3734 if (isa<UsingShadowDecl>(ND) && isa<UsingDecl>(D) && in checkHidden() 3735 cast<UsingShadowDecl>(ND)->getUsingDecl() == D) in checkHidden()
|
H A D | SemaModule.cpp | 661 if (auto *USD = dyn_cast<UsingShadowDecl>(D)) { in checkExportedDecl()
|
H A D | SemaAccess.cpp | 1310 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug() 1311 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) { in IsMicrosoftUsingDeclarationAccessBug()
|
H A D | SemaDeclCXX.cpp | 9804 if (UsingShadowDecl *shad = dyn_cast<UsingShadowDecl>(*I)) in FindHiddenVirtualMethods() 11638 UsingShadowDecl *&PrevShadow) { in CheckUsingShadowDecl() 11691 if (isa<UsingShadowDecl>(Target)) in CheckUsingShadowDecl() 11692 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl() 11724 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I)) in CheckUsingShadowDecl() 11804 UsingShadowDecl *Sema::BuildUsingShadowDecl(Scope *S, in BuildUsingShadowDecl() 11807 UsingShadowDecl *PrevDecl) { in BuildUsingShadowDecl() 11810 if (isa<UsingShadowDecl>(Target)) { in BuildUsingShadowDecl() 11811 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl() 11812 assert(!isa<UsingShadowDecl>(Target) && "nested shadow declaration"); in BuildUsingShadowDecl() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 4130 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument 4132 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P() 6201 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument 6219 AST_MATCHER_P(UsingShadowDecl, hasTargetDecl, in AST_MATCHER_P() argument
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/ |
H A D | USRLocFinder.cpp | 272 if (auto *UsingShadow = llvm::dyn_cast<UsingShadowDecl>(Decl)) { in VisitDeclRefExpr()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 393 void VisitUsingShadowDecl(UsingShadowDecl *D); 1647 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>()); in VisitUsingDecl() 1663 void ASTDeclReader::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl() 1669 auto *Pattern = readDeclAs<UsingShadowDecl>(); in VisitUsingShadowDecl() 3228 if (const auto *USX = dyn_cast<UsingShadowDecl>(X)) { in isSameEntity() 3229 const auto *USY = cast<UsingShadowDecl>(Y); in isSameEntity() 3839 D = UsingShadowDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
H A D | ASTWriterDecl.cpp | 117 void VisitUsingShadowDecl(UsingShadowDecl *D); 1289 void ASTDeclWriter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
|