Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/include/clang/AST/
H A DTemplateName.h147 Decl *AssociatedDecl, unsigned Index,
171 const TemplateArgument &ArgPack, Decl *AssociatedDecl,
379 Decl *AssociatedDecl; variable
382 Decl *AssociatedDecl, unsigned Index, in SubstTemplateTemplateParmStorage() argument
386 Replacement(Replacement), AssociatedDecl(AssociatedDecl) { in SubstTemplateTemplateParmStorage()
387 assert(AssociatedDecl != nullptr); in SubstTemplateTemplateParmStorage()
393 Decl *getAssociatedDecl() const { return AssociatedDecl; } in getAssociatedDecl()
411 Decl *AssociatedDecl, unsigned Index,
H A DASTContext.h1591 getSubstTemplateTypeParmType(QualType Replacement, Decl *AssociatedDecl,
1594 QualType getSubstTemplateTypeParmPackType(Decl *AssociatedDecl,
2176 getSubstTemplateTemplateParm(TemplateName replacement, Decl *AssociatedDecl,
2180 Decl *AssociatedDecl,
H A DExprCXX.h4339 Decl *AssociatedDecl, unsigned Index, in SubstNonTypeTemplateParmExpr() argument
4343 AssociatedDeclAndRef(AssociatedDecl, RefParam), Index(Index), in SubstNonTypeTemplateParmExpr()
4345 assert(AssociatedDecl != nullptr); in SubstNonTypeTemplateParmExpr()
4408 Decl *AssociatedDecl; variable
4429 Decl *AssociatedDecl, unsigned Index);
4433 Decl *getAssociatedDecl() const { return AssociatedDecl; } in getAssociatedDecl()
H A DType.h5093 Decl *AssociatedDecl;
5095 SubstTemplateTypeParmType(QualType Replacement, Decl *AssociatedDecl,
5110 Decl *getAssociatedDecl() const { return AssociatedDecl; }
5134 const Decl *AssociatedDecl, unsigned Index,
5137 ID.AddPointer(AssociatedDecl);
5168 SubstTemplateTypeParmPackType(QualType Canon, Decl *AssociatedDecl,
5200 static void Profile(llvm::FoldingSetNodeID &ID, const Decl *AssociatedDecl,
/openbsd/gnu/llvm/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.cpp3687 QualType Replacement, Decl *AssociatedDecl, unsigned Index, in SubstTemplateTypeParmType() argument
3691 AssociatedDecl(AssociatedDecl) { in SubstTemplateTypeParmType()
3699 assert(AssociatedDecl != nullptr); in SubstTemplateTypeParmType()
3708 QualType Canon, Decl *AssociatedDecl, unsigned Index, bool Final, in SubstTemplateTypeParmPackType() argument
3714 AssociatedDeclAndFinal(AssociatedDecl, Final) { in SubstTemplateTypeParmPackType()
3717 assert(AssociatedDecl != nullptr); in SubstTemplateTypeParmPackType()
3746 const Decl *AssociatedDecl, in Profile() argument
3749 ID.AddPointer(AssociatedDecl); in Profile()
H A DExprCXX.cpp1659 const TemplateArgument &ArgPack, Decl *AssociatedDecl, unsigned Index) in SubstNonTypeTemplateParmPackExpr() argument
1661 AssociatedDecl(AssociatedDecl), Arguments(ArgPack.pack_begin()), in SubstNonTypeTemplateParmPackExpr()
1663 assert(AssociatedDecl != nullptr); in SubstNonTypeTemplateParmPackExpr()
H A DASTContext.cpp4810 QualType Replacement, Decl *AssociatedDecl, unsigned Index, in getSubstTemplateTypeParmType() argument
4813 SubstTemplateTypeParmType::Profile(ID, Replacement, AssociatedDecl, Index, in getSubstTemplateTypeParmType()
4834 ASTContext::getSubstTemplateTypeParmPackType(Decl *AssociatedDecl, in getSubstTemplateTypeParmPackType() argument
4843 SubstTemplateTypeParmPackType::Profile(ID, AssociatedDecl, Index, Final, in getSubstTemplateTypeParmPackType()
4853 if (!AssociatedDecl->isCanonicalDecl() || in getSubstTemplateTypeParmPackType()
4856 AssociatedDecl->getCanonicalDecl(), Index, Final, CanonArgPack); in getSubstTemplateTypeParmPackType()
4864 Canon, AssociatedDecl, Index, Final, ArgPack); in getSubstTemplateTypeParmPackType()
9271 TemplateName Replacement, Decl *AssociatedDecl, unsigned Index, in getSubstTemplateTemplateParm() argument
9283 Replacement, AssociatedDecl, Index, PackIndex); in getSubstTemplateTemplateParm()
9292 Decl *AssociatedDecl, in getSubstTemplateTemplateParmPack() argument
[all …]
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1441 transformNonTypeTemplateParmRef(Decl *AssociatedDecl,
1634 auto [AssociatedDecl, Final] = in TransformTemplateName()
1646 Arg, AssociatedDecl, TTP->getIndex(), Final); in TransformTemplateName()
1661 Template, AssociatedDecl, TTP->getIndex(), PackIndex); in TransformTemplateName()
1743 E->getLocation(), Arg, AssociatedDecl, NTTP->getPosition()); in TransformTemplateParmRefExpr()
1771 Decl *AssociatedDecl, const NonTypeTemplateParmDecl *parm, in transformNonTypeTemplateParmRef() argument
1844 AssociatedDecl, parm->getIndex(), PackIndex, refParam); in transformNonTypeTemplateParmRef()
2054 Replacement, AssociatedDecl, Index, PackIndex); in BuildSubstTemplateTypeParmType()
2101 auto [AssociatedDecl, Final] = in TransformTemplateTypeParmType()
2113 AssociatedDecl, T->getIndex(), Final, Arg); in TransformTemplateTypeParmType()
[all …]
H A DTreeTransform.h1295 Decl *AssociatedDecl, unsigned Index, in RebuildTemplateName() argument
1298 ArgPack, AssociatedDecl, Index, Final); in RebuildTemplateName()
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DTemplate.h210 void addOuterTemplateArguments(Decl *AssociatedDecl, ArgList Args, in addOuterTemplateArguments() argument
216 {{AssociatedDecl->getCanonicalDecl(), Final}, Args}); in addOuterTemplateArguments()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTReader.cpp10893 auto *AssociatedDecl = Record.readDeclAs<ValueDecl>(); in VisitOMPMapClause() local
10894 Components.emplace_back(AssociatedExprPr, AssociatedDecl, in VisitOMPMapClause()
11021 auto *AssociatedDecl = Record.readDeclAs<ValueDecl>(); in VisitOMPToClause() local
11077 auto *AssociatedDecl = Record.readDeclAs<ValueDecl>(); in VisitOMPFromClause() local
11126 auto *AssociatedDecl = Record.readDeclAs<ValueDecl>(); in VisitOMPUseDevicePtrClause() local
11168 auto *AssociatedDecl = Record.readDeclAs<ValueDecl>(); in VisitOMPUseDeviceAddrClause() local
11169 Components.emplace_back(AssociatedExpr, AssociatedDecl, in VisitOMPUseDeviceAddrClause()
11211 auto *AssociatedDecl = Record.readDeclAs<ValueDecl>(); in VisitOMPIsDevicePtrClause() local
11212 Components.emplace_back(AssociatedExpr, AssociatedDecl, in VisitOMPIsDevicePtrClause()
11254 auto *AssociatedDecl = Record.readDeclAs<ValueDecl>(); in VisitOMPHasDeviceAddrClause() local
[all …]
H A DASTReaderStmt.cpp2143 E->AssociatedDecl = readDeclAs<Decl>(); in VisitSubstNonTypeTemplateParmPackExpr()