/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | TemplateName.h | 147 Decl *AssociatedDecl, unsigned Index, 171 const TemplateArgument &ArgPack, Decl *AssociatedDecl, 377 Decl *AssociatedDecl; variable 380 Decl *AssociatedDecl, unsigned Index, in SubstTemplateTemplateParmStorage() argument 384 Replacement(Replacement), AssociatedDecl(AssociatedDecl) { in SubstTemplateTemplateParmStorage() 385 assert(AssociatedDecl != nullptr); in SubstTemplateTemplateParmStorage() 391 Decl *getAssociatedDecl() const { return AssociatedDecl; } in getAssociatedDecl() 409 Decl *AssociatedDecl, unsigned Index,
|
H A D | ASTContext.h | 1672 getSubstTemplateTypeParmType(QualType Replacement, Decl *AssociatedDecl, 1675 QualType getSubstTemplateTypeParmPackType(Decl *AssociatedDecl, 2276 getSubstTemplateTemplateParm(TemplateName replacement, Decl *AssociatedDecl, 2280 Decl *AssociatedDecl,
|
H A D | ExprCXX.h | 4504 Decl *AssociatedDecl, unsigned Index, in SubstNonTypeTemplateParmExpr() argument 4508 AssociatedDeclAndRef(AssociatedDecl, RefParam), Index(Index), in SubstNonTypeTemplateParmExpr() 4510 assert(AssociatedDecl != nullptr); in SubstNonTypeTemplateParmExpr() 4573 Decl *AssociatedDecl; variable 4594 Decl *AssociatedDecl, unsigned Index); 4598 Decl *getAssociatedDecl() const { return AssociatedDecl; } in getAssociatedDecl()
|
H A D | Type.h | 6210 Decl *AssociatedDecl; 6212 SubstTemplateTypeParmType(QualType Replacement, Decl *AssociatedDecl, 6227 Decl *getAssociatedDecl() const { return AssociatedDecl; } 6251 const Decl *AssociatedDecl, unsigned Index, 6254 ID.AddPointer(AssociatedDecl); 6285 SubstTemplateTypeParmPackType(QualType Canon, Decl *AssociatedDecl, 6317 static void Profile(llvm::FoldingSetNodeID &ID, const Decl *AssociatedDecl,
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | TemplateName.cpp | 61 llvm::FoldingSetNodeID &ID, TemplateName Replacement, Decl *AssociatedDecl, in Profile() argument 64 ID.AddPointer(AssociatedDecl); in Profile() 70 ArrayRef<TemplateArgument> ArgPack, Decl *AssociatedDecl, unsigned Index, in SubstTemplateTemplateParmPackStorage() argument 74 Arguments(ArgPack.data()), AssociatedDeclAndFinal(AssociatedDecl, Final) { in SubstTemplateTemplateParmPackStorage() 75 assert(AssociatedDecl != nullptr); in SubstTemplateTemplateParmPackStorage() 94 const TemplateArgument &ArgPack, Decl *AssociatedDecl, unsigned Index, in Profile() argument 97 ID.AddPointer(AssociatedDecl); in Profile()
|
H A D | Type.cpp | 4187 QualType Replacement, Decl *AssociatedDecl, unsigned Index, in SubstTemplateTypeParmType() argument 4191 AssociatedDecl(AssociatedDecl) { in SubstTemplateTypeParmType() 4199 assert(AssociatedDecl != nullptr); in SubstTemplateTypeParmType() 4208 QualType Canon, Decl *AssociatedDecl, unsigned Index, bool Final, in SubstTemplateTypeParmPackType() argument 4214 AssociatedDeclAndFinal(AssociatedDecl, Final) { in SubstTemplateTypeParmPackType() 4217 assert(AssociatedDecl != nullptr); in SubstTemplateTypeParmPackType() 4246 const Decl *AssociatedDecl, in Profile() argument 4249 ID.AddPointer(AssociatedDecl); in Profile()
|
H A D | ExprCXX.cpp | 1764 const TemplateArgument &ArgPack, Decl *AssociatedDecl, unsigned Index) in SubstNonTypeTemplateParmPackExpr() argument 1766 AssociatedDecl(AssociatedDecl), Arguments(ArgPack.pack_begin()), in SubstNonTypeTemplateParmPackExpr() 1768 assert(AssociatedDecl != nullptr); in SubstNonTypeTemplateParmPackExpr()
|
H A D | ASTContext.cpp | 5205 QualType Replacement, Decl *AssociatedDecl, unsigned Index, in getSubstTemplateTypeParmType() argument 5208 SubstTemplateTypeParmType::Profile(ID, Replacement, AssociatedDecl, Index, in getSubstTemplateTypeParmType() 5218 SubstParm = new (Mem) SubstTemplateTypeParmType(Replacement, AssociatedDecl, in getSubstTemplateTypeParmType() 5229 ASTContext::getSubstTemplateTypeParmPackType(Decl *AssociatedDecl, in getSubstTemplateTypeParmPackType() argument 5238 SubstTemplateTypeParmPackType::Profile(ID, AssociatedDecl, Index, Final, in getSubstTemplateTypeParmPackType() 5248 if (!AssociatedDecl->isCanonicalDecl() || in getSubstTemplateTypeParmPackType() 5251 AssociatedDecl->getCanonicalDecl(), Index, Final, CanonArgPack); in getSubstTemplateTypeParmPackType() 5259 SubstTemplateTypeParmPackType(Canon, AssociatedDecl, Index, Final, in getSubstTemplateTypeParmPackType() 9741 TemplateName Replacement, Decl *AssociatedDecl, unsigned Index, in getSubstTemplateTemplateParm() argument 9744 SubstTemplateTemplateParmStorage::Profile(ID, Replacement, AssociatedDecl, in getSubstTemplateTemplateParm() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Template.h | 210 void addOuterTemplateArguments(Decl *AssociatedDecl, ArgList Args, in addOuterTemplateArguments() argument 216 {{AssociatedDecl ? AssociatedDecl->getCanonicalDecl() : nullptr, in addOuterTemplateArguments() 237 void replaceInnermostTemplateArguments(Decl *AssociatedDecl, ArgList Args) { in replaceInnermostTemplateArguments() argument 244 AssociatedDecl) && in replaceInnermostTemplateArguments() 250 {{AssociatedDecl, /*Final=*/false}, Args}); in replaceInnermostTemplateArguments()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateInstantiate.cpp | 1629 Decl *AssociatedDecl, unsigned Index, std::optional<unsigned> PackIndex, 1782 transformNonTypeTemplateParmRef(Decl *AssociatedDecl, 1986 auto [AssociatedDecl, Final] = in TransformTemplateName() 1998 Arg, AssociatedDecl, TTP->getIndex(), Final); in TransformTemplateName() 2011 Template, AssociatedDecl, TTP->getIndex(), PackIndex); in TransformTemplateName() 2071 auto [AssociatedDecl, _] = TemplateArgs.getAssociatedDecl(NTTP->getDepth()); in TransformTemplateParmRefExpr() 2093 E->getLocation(), Arg, AssociatedDecl, NTTP->getPosition()); in TransformTemplateParmRefExpr() 2099 return transformNonTypeTemplateParmRef(AssociatedDecl, NTTP, E->getLocation(), in TransformTemplateParmRefExpr() 2169 Decl *AssociatedDecl, const NonTypeTemplateParmDecl *parm, in transformNonTypeTemplateParmRef() argument 2240 AssociatedDecl, parm->getIndex(), PackIndex, refParam); in transformNonTypeTemplateParmRef() [all …]
|
H A D | TreeTransform.h | 1339 Decl *AssociatedDecl, unsigned Index, in RebuildTemplateName() argument 1342 ArgPack, AssociatedDecl, Index, Final); in RebuildTemplateName()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 11343 auto *AssociatedDecl = Record.readDeclAs<ValueDecl>(); in VisitOMPMapClause() local 11344 Components.emplace_back(AssociatedExprPr, AssociatedDecl, in VisitOMPMapClause() 11471 auto *AssociatedDecl = Record.readDeclAs<ValueDecl>(); in VisitOMPToClause() local 11472 Components.emplace_back(AssociatedExprPr, AssociatedDecl, IsNonContiguous); in VisitOMPToClause() 11527 auto *AssociatedDecl = Record.readDeclAs<ValueDecl>(); in VisitOMPFromClause() local 11528 Components.emplace_back(AssociatedExprPr, AssociatedDecl, IsNonContiguous); in VisitOMPFromClause() 11576 auto *AssociatedDecl = Record.readDeclAs<ValueDecl>(); in VisitOMPUseDevicePtrClause() local 11577 Components.emplace_back(AssociatedExprPr, AssociatedDecl, in VisitOMPUseDevicePtrClause() 11618 auto *AssociatedDecl = Record.readDeclAs<ValueDecl>(); in VisitOMPUseDeviceAddrClause() local 11619 Components.emplace_back(AssociatedExpr, AssociatedDecl, in VisitOMPUseDeviceAddrClause() [all …]
|
H A D | ASTReaderStmt.cpp | 2214 E->AssociatedDecl = readDeclAs<Decl>(); in VisitSubstNonTypeTemplateParmPackExpr()
|