Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclCXX.h3677 class UsingPackDecl final
3678 : public NamedDecl, public Mergeable<UsingPackDecl>,
3679 private llvm::TrailingObjects<UsingPackDecl, NamedDecl *> {
3687 UsingPackDecl(DeclContext *DC, NamedDecl *InstantiatedFrom, in UsingPackDecl() function
3717 static UsingPackDecl *Create(ASTContext &C, DeclContext *DC,
3721 static UsingPackDecl *CreateDeserialized(ASTContext &C, unsigned ID,
3728 UsingPackDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
3729 const UsingPackDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
H A DRecursiveASTVisitor.h1735 DEF_TRAVERSE_DECL(UsingPackDecl, {})
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclCXX.cpp3104 void UsingPackDecl::anchor() {} in anchor()
3106 UsingPackDecl *UsingPackDecl::Create(ASTContext &C, DeclContext *DC, in Create()
3110 return new (C, DC, Extra) UsingPackDecl(DC, InstantiatedFrom, UsingDecls); in Create()
3113 UsingPackDecl *UsingPackDecl::CreateDeserialized(ASTContext &C, unsigned ID, in CreateDeserialized()
3116 auto *Result = new (C, ID, Extra) UsingPackDecl(nullptr, nullptr, None); in CreateDeserialized()
H A DASTImporter.cpp550 ExpectedDecl VisitUsingPackDecl(UsingPackDecl *D);
4882 ExpectedDecl ASTNodeImporter::VisitUsingPackDecl(UsingPackDecl *D) { in VisitUsingPackDecl()
4900 UsingPackDecl *ToUsingPack; in VisitUsingPackDecl()
H A DASTContext.cpp6637 if (const auto *UX = dyn_cast<UsingPackDecl>(X)) { in isSameEntity()
6640 cast<UsingPackDecl>(Y)->getInstantiatedFromUsingDecl()); in isSameEntity()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp396 void VisitUsingPackDecl(UsingPackDecl *D);
1771 void ASTDeclReader::VisitUsingPackDecl(UsingPackDecl *D) { in VisitUsingPackDecl()
3610 D = UsingPackDecl::CreateDeserialized(Context, ID, Record.readInt()); in ReadDeclRecord()
H A DASTWriterDecl.cpp119 void VisitUsingPackDecl(UsingPackDecl *D);
1302 void ASTDeclWriter::VisitUsingPackDecl(UsingPackDecl *D) { in VisitUsingPackDecl()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp913 const internal::VariadicDynCastAllOfMatcher<Decl, UsingPackDecl> usingPackDecl;
1047 auto From = FirstDeclMatcher<UsingPackDecl>().match(FromTU, usingPackDecl()); in TEST_P()
1049 auto To = cast<UsingPackDecl>(Import(From, Lang_CXX20)); in TEST_P()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDecl.cpp147 for (auto *Using : cast<UsingPackDecl>(D).expansions()) in EmitDecl()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp3383 Decl *TemplateDeclInstantiator::VisitUsingPackDecl(UsingPackDecl *D) { in VisitUsingPackDecl()
5867 } else if (auto *OtherUPD = dyn_cast<UsingPackDecl>(Other)) { in isInstantiationOfUnresolvedUsingDecl()
H A DSemaDeclCXX.cpp11955 if (isa<UsingDecl>(D) || isa<UsingPackDecl>(D) || isa<UsingEnumDecl>(D)) in CheckUsingShadowDecl()
12598 isa<UsingPackDecl>(InstantiatedFrom)); in BuildUsingPackDecl()
12601 UsingPackDecl::Create(Context, CurContext, InstantiatedFrom, Expansions); in BuildUsingPackDecl()
12660 if (!isa<TypeDecl>(D) && !isa<UsingDecl>(D) && !isa<UsingPackDecl>(D)) { in CheckUsingDeclRedeclaration()
H A DTreeTransform.h12320 if (auto *UPD = dyn_cast<UsingPackDecl>(InstD)) in TransformOverloadExprDecls()
14686 if (auto *UPD = dyn_cast<UsingPackDecl>(D)) { in RebuildUnresolvedUsingType()
H A DSemaOverload.cpp1081 } else if (isa<UsingDecl>(OldD) || isa<UsingPackDecl>(OldD)) { in CheckOverload()