Home
last modified time | relevance | path

Searched refs:DeclArgumentPack (Results 1 – 8 of 8) sorted by relevance

/external/clang/include/clang/Sema/
DTemplate.h181 typedef SmallVector<ParmVarDecl *, 4> DeclArgumentPack; typedef
189 const Decl *, llvm::PointerUnion<Decl *, DeclArgumentPack *>, 4>
213 SmallVector<DeclArgumentPack *, 1> ArgumentPacks;
296 llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored = in cloneScopes()
301 DeclArgumentPack *OldPack = I->second.get<DeclArgumentPack *>(); in cloneScopes()
302 DeclArgumentPack *NewPack = new DeclArgumentPack(*OldPack); in cloneScopes()
331 llvm::PointerUnion<Decl *, DeclArgumentPack *> *
/external/llvm-project/clang/include/clang/Sema/
DTemplate.h273 using DeclArgumentPack = SmallVector<VarDecl *, 4>;
282 llvm::PointerUnion<Decl *, DeclArgumentPack *>, 4>;
305 SmallVector<DeclArgumentPack *, 1> ArgumentPacks;
385 llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored = in cloneScopes()
390 DeclArgumentPack *OldPack = I->second.get<DeclArgumentPack *>(); in cloneScopes()
391 DeclArgumentPack *NewPack = new DeclArgumentPack(*OldPack); in cloneScopes()
420 llvm::PointerUnion<Decl *, DeclArgumentPack *> *
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp575 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in CheckParameterPacksForExpansion() typedef
577 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Instantiation in CheckParameterPacksForExpansion()
580 if (Instantiation->is<DeclArgumentPack *>()) { in CheckParameterPacksForExpansion()
582 NewPackSize = Instantiation->get<DeclArgumentPack *>()->size(); in CheckParameterPacksForExpansion()
666 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in getNumArgumentsInExpansion() typedef
668 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Instantiation in getNumArgumentsInExpansion()
676 unsigned Size = Instantiation->get<DeclArgumentPack *>()->size(); in getNumArgumentsInExpansion()
DSemaTemplateInstantiate.cpp1247 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in TransformFunctionParmPackRefExpr() typedef
1248 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Found in TransformFunctionParmPackRefExpr()
1253 if (DeclArgumentPack *Pack = Found->dyn_cast<DeclArgumentPack *>()) { in TransformFunctionParmPackRefExpr()
2764 llvm::PointerUnion<Decl *, LocalInstantiationScope::DeclArgumentPack *> *
2815 llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored = LocalDecls[D]; in InstantiatedLocal()
2827 } else if (DeclArgumentPack *Pack = Stored.dyn_cast<DeclArgumentPack *>()) { in InstantiatedLocal()
2837 DeclArgumentPack *Pack = LocalDecls[D].get<DeclArgumentPack *>(); in InstantiatedLocalPackArg()
2851 llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored = LocalDecls[D]; in MakeInstantiatedLocalArgPack()
2852 DeclArgumentPack *Pack = new DeclArgumentPack; in MakeInstantiatedLocalArgPack()
DSemaTemplateInstantiateDecl.cpp4653 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in FindInstantiatedDecl() typedef
4654 return cast<NamedDecl>((*Found->get<DeclArgumentPack *>())[PackIdx]); in FindInstantiatedDecl()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateVariadic.cpp708 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in CheckParameterPacksForExpansion() typedef
710 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Instantiation in CheckParameterPacksForExpansion()
713 if (Instantiation->is<DeclArgumentPack *>()) { in CheckParameterPacksForExpansion()
715 NewPackSize = Instantiation->get<DeclArgumentPack *>()->size(); in CheckParameterPacksForExpansion()
826 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in getNumArgumentsInExpansion() typedef
828 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Instantiation in getNumArgumentsInExpansion()
836 unsigned Size = Instantiation->get<DeclArgumentPack *>()->size(); in getNumArgumentsInExpansion()
DSemaTemplateInstantiate.cpp1676 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in TransformFunctionParmPackRefExpr() typedef
1677 llvm::PointerUnion<Decl *, DeclArgumentPack *> *Found in TransformFunctionParmPackRefExpr()
1682 if (DeclArgumentPack *Pack = Found->dyn_cast<DeclArgumentPack *>()) { in TransformFunctionParmPackRefExpr()
3559 llvm::PointerUnion<Decl *, LocalInstantiationScope::DeclArgumentPack *> *
3616 llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored = LocalDecls[D]; in InstantiatedLocal()
3628 } else if (DeclArgumentPack *Pack = Stored.dyn_cast<DeclArgumentPack *>()) { in InstantiatedLocal()
3638 DeclArgumentPack *Pack = LocalDecls[D].get<DeclArgumentPack *>(); in InstantiatedLocalPackArg()
3652 llvm::PointerUnion<Decl *, DeclArgumentPack *> &Stored = LocalDecls[D]; in MakeInstantiatedLocalArgPack()
3653 DeclArgumentPack *Pack = new DeclArgumentPack; in MakeInstantiatedLocalArgPack()
3659 for (DeclArgumentPack *Pack : ArgumentPacks) in isLocalPackExpansion()
DSemaTemplateInstantiateDecl.cpp5827 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in FindInstantiatedDecl() typedef
5828 return cast<NamedDecl>((*Found->get<DeclArgumentPack *>())[PackIdx]); in FindInstantiatedDecl()