Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3186 class UsingShadowDecl : public NamedDecl, public Redeclarable<UsingShadowDecl> {
3204 UsingShadowDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
3241 UsingShadowDecl *getCanonicalDecl() override { in getCanonicalDecl()
3244 const UsingShadowDecl *getCanonicalDecl() const { in getCanonicalDecl()
3270 UsingShadowDecl *getNextUsingShadowDecl() const { in getNextUsingShadowDecl()
3313 UsingShadowDecl *Current = nullptr;
3316 using value_type = UsingShadowDecl *;
3317 using reference = UsingShadowDecl *;
3318 using pointer = UsingShadowDecl *;
3365 void addShadowDecl(UsingShadowDecl *S);
[all …]
H A DASTContext.h137 class UsingShadowDecl; variable
533 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>
942 UsingShadowDecl *getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst);
943 void setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst,
944 UsingShadowDecl *Pattern);
H A DTextNodeDumper.h359 void VisitUsingShadowDecl(const UsingShadowDecl *D);
H A DJSONNodeDumper.h240 void VisitUsingShadowDecl(const UsingShadowDecl *USD);
H A DASTNodeTraverser.h628 void VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1373 if (auto *Shadow = dyn_cast<UsingShadowDecl>(D)) { in addedMember()
2969 void UsingShadowDecl::anchor() {} in anchor()
2971 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, in UsingShadowDecl() function in UsingShadowDecl
2981 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, EmptyShell Empty) in UsingShadowDecl() function in UsingShadowDecl
2985 UsingShadowDecl *
2990 BaseUsingDecl *UsingShadowDecl::getIntroducer() const { in getIntroducer()
2991 const UsingShadowDecl *Shadow = this; in getIntroducer()
3019 void BaseUsingDecl::addShadowDecl(UsingShadowDecl *S) { in addShadowDecl()
3029 void BaseUsingDecl::removeShadowDecl(UsingShadowDecl *S) { in removeShadowDecl()
3038 dyn_cast<UsingShadowDecl>(S->UsingOrNextShadow)); in removeShadowDecl()
[all …]
H A DDeclPrinter.cpp102 void VisitUsingShadowDecl(UsingShadowDecl *D);
1630 void DeclPrinter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
H A DDecl.cpp1816 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 DASTContext.cpp1589 UsingShadowDecl *
1590 ASTContext::getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst) { in getInstantiatedFromUsingShadowDecl()
1591 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>::const_iterator Pos in getInstantiatedFromUsingShadowDecl()
1600 ASTContext::setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst, in setInstantiatedFromUsingShadowDecl()
1601 UsingShadowDecl *Pattern) { in setInstantiatedFromUsingShadowDecl()
8418 (isa<UsingShadowDecl>(D) && in getOverloadedTemplateName()
H A DASTImporter.cpp529 ExpectedDecl VisitUsingShadowDecl(UsingShadowDecl *D);
4630 for (UsingShadowDecl *FromShadow : D->shadows()) { in ImportUsingShadowDecls()
4631 if (Expected<UsingShadowDecl *> ToShadowOrErr = import(FromShadow)) in ImportUsingShadowDecls()
4720 ExpectedDecl ASTNodeImporter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
4738 UsingShadowDecl *ToShadow; in VisitUsingShadowDecl()
4746 if (UsingShadowDecl *FromPattern = in VisitUsingShadowDecl()
4748 if (Expected<UsingShadowDecl *> ToPatternOrErr = import(FromPattern)) in VisitUsingShadowDecl()
H A DJSONNodeDumper.cpp798 void JSONNodeDumper::VisitUsingShadowDecl(const UsingShadowDecl *USD) { in VisitUsingShadowDecl()
H A DTextNodeDumper.cpp2130 void TextNodeDumper::VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h50 class UsingShadowDecl; variable
856 const UsingShadowDecl *ShadowDecl = nullptr;
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp680 if (UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(D)) in maybeAddCUDAHostDeviceAttrs()
H A DSemaOverload.cpp1038 if (isa<UsingShadowDecl>(OldD)) { in CheckOverload()
3520 if (isa<UsingShadowDecl>(D)) in IsUserDefinedConversion()
4624 if (isa<UsingShadowDecl>(D)) in FindConversionForRefInit()
5992 if (isa<UsingShadowDecl>(D)) in collectViableConversionCandidates()
6819 if (isa<UsingShadowDecl>(Decl)) in AddMethodCandidate()
8038 if (isa<UsingShadowDecl>(D)) in AddTypesConvertedFrom()
8110 if (isa<UsingShadowDecl>(D)) in CollectVRQualifiers()
12601 if (isa<UsingShadowDecl>(Callee)) in AddOverloadedCallCandidate()
12660 assert(isa<UsingShadowDecl>(*I) || in AddOverloadedCallCandidates()
14280 if (isa<UsingShadowDecl>(Func)) in BuildCallToMemberFunction()
[all …]
H A DSemaTemplateInstantiateDecl.cpp3088 UsingShadowDecl *PrevDecl = nullptr; in VisitBaseUsingDecls()
3093 if (UsingShadowDecl *OldPrev = getPreviousDeclForInstantiation(Shadow)) in VisitBaseUsingDecls()
3094 PrevDecl = cast_or_null<UsingShadowDecl>(SemaRef.FindInstantiatedDecl( in VisitBaseUsingDecls()
3097 UsingShadowDecl *InstShadow = SemaRef.BuildUsingShadowDecl( in VisitBaseUsingDecls()
3206 Decl *TemplateDeclInstantiator::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
5812 static bool isInstantiationOf(UsingShadowDecl *Pattern, in isInstantiationOf()
5813 UsingShadowDecl *Instance, in isInstantiationOf()
5913 if (auto *Shadow = dyn_cast<UsingShadowDecl>(Other)) in isInstantiationOf()
5914 return isInstantiationOf(cast<UsingShadowDecl>(D), Shadow, Ctx); in isInstantiationOf()
6227 if (isa<UsingShadowDecl>(D)) { in FindInstantiatedDecl()
H A DSemaLookup.cpp370 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)->getIntroducer() == D) in checkHidden()
H A DSemaModule.cpp661 if (auto *USD = dyn_cast<UsingShadowDecl>(D)) { in checkExportedDecl()
H A DSemaAccess.cpp1310 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug()
1311 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaDeclCXX.cpp9811 if (UsingShadowDecl *shad = dyn_cast<UsingShadowDecl>(*I)) in FindHiddenVirtualMethods()
11685 UsingShadowDecl *&PrevShadow) { in CheckUsingShadowDecl()
11739 if (isa<UsingShadowDecl>(Target)) in CheckUsingShadowDecl()
11740 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
11772 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I)) in CheckUsingShadowDecl()
11871 if (isa<UsingShadowDecl>(Target)) { in BuildUsingShadowDecl()
11872 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
11880 UsingShadowDecl *Shadow; in BuildUsingShadowDecl()
11936 void Sema::HideUsingShadowDecl(Scope *S, UsingShadowDecl *Shadow) { in HideUsingShadowDecl()
12331 UsingShadowDecl *PrevDecl = nullptr; in BuildUsingDeclaration()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4142 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument
4144 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P()
6213 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument
6231 AST_MATCHER_P(UsingShadowDecl, hasTargetDecl, in AST_MATCHER_P() argument
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp272 if (auto *UsingShadow = llvm::dyn_cast<UsingShadowDecl>(Decl)) { in VisitDeclRefExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp395 void VisitUsingShadowDecl(UsingShadowDecl *D);
1649 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>()); in VisitUsingDecl()
1661 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>()); in VisitUsingEnumDecl()
1676 void ASTDeclReader::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
1682 auto *Pattern = readDeclAs<UsingShadowDecl>(); in VisitUsingShadowDecl()
3246 if (const auto *USX = dyn_cast<UsingShadowDecl>(X)) { in isSameEntity()
3247 const auto *USY = cast<UsingShadowDecl>(Y); in isSameEntity()
3866 D = UsingShadowDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp119 void VisitUsingShadowDecl(UsingShadowDecl *D);
1301 void ASTDeclWriter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h506 void EmitUsingShadowDecl(const UsingShadowDecl &USD);

12