Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateName.h147 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 DASTContext.h1672 getSubstTemplateTypeParmType(QualType Replacement, Decl *AssociatedDecl,
1675 QualType getSubstTemplateTypeParmPackType(Decl *AssociatedDecl,
2276 getSubstTemplateTemplateParm(TemplateName replacement, Decl *AssociatedDecl,
2280 Decl *AssociatedDecl,
H A DExprCXX.h4504 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 DType.h6210 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 DTemplateName.cpp61 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 DType.cpp4187 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 DExprCXX.cpp1764 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 DASTContext.cpp5205 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 DTemplate.h210 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 DSemaTemplateInstantiate.cpp1629 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 DTreeTransform.h1339 Decl *AssociatedDecl, unsigned Index, in RebuildTemplateName() argument
1342 ArgPack, AssociatedDecl, Index, Final); in RebuildTemplateName()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp11343 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 DASTReaderStmt.cpp2214 E->AssociatedDecl = readDeclAs<Decl>(); in VisitSubstNonTypeTemplateParmPackExpr()