Lines Matching defs:Template
27 #include "clang/Sema/Template.h"
435 Sema &S, const NamedDecl *Template, SourceLocation TemplateNameLoc,
441 const NamedDecl *Template;
458 const_cast<NamedDecl *>(Template), Info,
464 if (Template &&
465 DiagRecursiveConstraintEval(S, ID, Template, AtomicExpr, MLTAL)) {
471 SatisfactionStackRAII StackRAII(S, Template, ID);
567 ConstraintEvaluator{S, Template, TemplateNameLoc, MLTAL, Satisfaction});
571 Sema &S, const NamedDecl *Template, ArrayRef<const Expr *> ConstraintExprs,
592 const_cast<NamedDecl *>(Template), TemplateArgs, TemplateIDRange);
598 S, Template, TemplateIDRange.getBegin(), TemplateArgsLists,
619 const NamedDecl *Template, ArrayRef<const Expr *> ConstraintExprs,
627 if (!Template) {
634 if (Template->isInvalidDecl()) {
649 ConstraintSatisfaction::Profile(ID, Context, Template, FlattenedArgs);
657 std::make_unique<ConstraintSatisfaction>(Template, FlattenedArgs);
658 if (::CheckConstraintSatisfaction(*this, Template, ConstraintExprs,
1101 FunctionTemplateDecl *Template = Decl->getPrimaryTemplate();
1105 Template->getAssociatedConstraints(TemplateAC);
1135 return CheckConstraintSatisfaction(Template, TemplateAC, Converted, *MLTAL,