Searched refs:DeclArgumentPack (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Template.h | 368 using DeclArgumentPack = SmallVector<VarDecl *, 4>; 377 llvm::PointerUnion<Decl *, DeclArgumentPack *>, 4>; 400 SmallVector<DeclArgumentPack *, 1> ArgumentPacks; 480 llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored = in cloneScopes() 485 DeclArgumentPack *OldPack = I->second.get<DeclArgumentPack *>(); in cloneScopes() 486 DeclArgumentPack *NewPack = new DeclArgumentPack(*OldPack); in cloneScopes() 515 llvm::PointerUnion<Decl *, DeclArgumentPack *> *
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateVariadic.cpp | 730 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in CheckParameterPacksForExpansion() typedef 732 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Instantiation = in CheckParameterPacksForExpansion() 735 if (Instantiation->is<DeclArgumentPack *>()) { in CheckParameterPacksForExpansion() 737 NewPackSize = Instantiation->get<DeclArgumentPack *>()->size(); in CheckParameterPacksForExpansion() 848 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in getNumArgumentsInExpansion() typedef 850 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Instantiation = in getNumArgumentsInExpansion() 858 unsigned Size = Instantiation->get<DeclArgumentPack *>()->size(); in getNumArgumentsInExpansion()
|
H A D | SemaTemplateInstantiate.cpp | 2345 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in TransformFunctionParmPackRefExpr() typedef 2346 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Found in TransformFunctionParmPackRefExpr() 2351 if (DeclArgumentPack *Pack = Found->dyn_cast<DeclArgumentPack *>()) { in TransformFunctionParmPackRefExpr() 4353 llvm::PointerUnion<Decl *, LocalInstantiationScope::DeclArgumentPack *> * 4410 llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored = LocalDecls[D]; in InstantiatedLocal() 4422 } else if (DeclArgumentPack *Pack = Stored.dyn_cast<DeclArgumentPack *>()) { in InstantiatedLocal() 4432 DeclArgumentPack *Pack = LocalDecls[D].get<DeclArgumentPack *>(); in InstantiatedLocalPackArg() 4446 llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored = LocalDecls[D]; in MakeInstantiatedLocalArgPack() 4447 DeclArgumentPack *Pack = new DeclArgumentPack; in MakeInstantiatedLocalArgPack() 4453 for (DeclArgumentPack *Pack : ArgumentPacks) in isLocalPackExpansion()
|
H A D | SemaTemplateInstantiateDecl.cpp | 6123 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in FindInstantiatedDecl() typedef 6124 return cast<NamedDecl>((*Found->get<DeclArgumentPack *>())[PackIdx]); in FindInstantiatedDecl()
|