Home
last modified time | relevance | path

Searched refs:UsingPackDecl (Results 1 – 12 of 12) sorted by relevance

/openbsd/gnu/llvm/clang/include/clang/AST/
H A DDeclCXX.h3705 class UsingPackDecl final
3706 : public NamedDecl, public Mergeable<UsingPackDecl>,
3707 private llvm::TrailingObjects<UsingPackDecl, NamedDecl *> {
3715 UsingPackDecl(DeclContext *DC, NamedDecl *InstantiatedFrom, in UsingPackDecl() function
3745 static UsingPackDecl *Create(ASTContext &C, DeclContext *DC,
3749 static UsingPackDecl *CreateDeserialized(ASTContext &C, unsigned ID,
3756 UsingPackDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
3757 const UsingPackDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
H A DRecursiveASTVisitor.h1728 DEF_TRAVERSE_DECL(UsingPackDecl, {})
/openbsd/gnu/llvm/clang/lib/AST/
H A DDeclCXX.cpp3144 void UsingPackDecl::anchor() {} in anchor()
3146 UsingPackDecl *UsingPackDecl::Create(ASTContext &C, DeclContext *DC, in Create()
3150 return new (C, DC, Extra) UsingPackDecl(DC, InstantiatedFrom, UsingDecls); in Create()
3153 UsingPackDecl *UsingPackDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized()
3157 new (C, ID, Extra) UsingPackDecl(nullptr, nullptr, std::nullopt); in CreateDeserialized()
H A DASTImporter.cpp547 ExpectedDecl VisitUsingPackDecl(UsingPackDecl *D);
4993 ExpectedDecl ASTNodeImporter::VisitUsingPackDecl(UsingPackDecl *D) { in VisitUsingPackDecl()
5011 UsingPackDecl *ToUsingPack; in VisitUsingPackDecl()
H A DASTContext.cpp6717 if (const auto *UX = dyn_cast<UsingPackDecl>(X)) { in isSameEntity()
6720 cast<UsingPackDecl>(Y)->getInstantiatedFromUsingDecl()); in isSameEntity()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp399 void VisitUsingPackDecl(UsingPackDecl *D);
1834 void ASTDeclReader::VisitUsingPackDecl(UsingPackDecl *D) { in VisitUsingPackDecl()
3699 D = UsingPackDecl::CreateDeserialized(Context, ID, Record.readInt()); in ReadDeclRecord()
H A DASTWriterDecl.cpp122 void VisitUsingPackDecl(UsingPackDecl *D);
1322 void ASTDeclWriter::VisitUsingPackDecl(UsingPackDecl *D) { in VisitUsingPackDecl()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGDecl.cpp151 for (auto *Using : cast<UsingPackDecl>(D).expansions()) in EmitDecl()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3450 Decl *TemplateDeclInstantiator::VisitUsingPackDecl(UsingPackDecl *D) { in VisitUsingPackDecl()
5878 } else if (auto *OtherUPD = dyn_cast<UsingPackDecl>(Other)) { in isInstantiationOfUnresolvedUsingDecl()
H A DSemaDeclCXX.cpp12063 if (isa<UsingDecl>(D) || isa<UsingPackDecl>(D) || isa<UsingEnumDecl>(D)) in CheckUsingShadowDecl()
12707 isa<UsingPackDecl>(InstantiatedFrom)); in BuildUsingPackDecl()
12710 UsingPackDecl::Create(Context, CurContext, InstantiatedFrom, Expansions); in BuildUsingPackDecl()
12769 if (!isa<TypeDecl>(D) && !isa<UsingDecl>(D) && !isa<UsingPackDecl>(D)) { in CheckUsingDeclRedeclaration()
H A DTreeTransform.h12495 if (auto *UPD = dyn_cast<UsingPackDecl>(InstD)) in TransformOverloadExprDecls()
14873 if (auto *UPD = dyn_cast<UsingPackDecl>(D)) { in RebuildUnresolvedUsingType()
H A DSemaOverload.cpp1177 } else if (isa<UsingDecl>(OldD) || isa<UsingPackDecl>(OldD)) { in CheckOverload()