Lines Matching defs:Tmpl
172 const EnableIfAttr *A, const Decl *Tmpl, Decl *New) {
190 !Expr::isPotentialConstantExprUnevaluated(Cond, cast<FunctionDecl>(Tmpl),
231 const Decl *Tmpl, Decl *New,
234 for (const auto *TmplAttr : Tmpl->attrs()) {
256 instantiateDependentEnableIfAttr(*this, TemplateArgs, EnableIf, Tmpl,
3229 /// declaration (New) from the corresponding fields of its template (Tmpl).
3234 FunctionDecl *Tmpl) {
3235 if (Tmpl->isDeleted())
3240 SemaRef.Context.getManglingNumber(Tmpl));
3256 assert(FunTmpl->getTemplatedDecl() == Tmpl &&
3264 const FunctionProtoType *Proto = Tmpl->getType()->getAs<FunctionProtoType>();
3278 !Tmpl->isLexicallyWithinFunctionOrMethod()) {
3279 FunctionDecl *ExceptionSpecTemplate = Tmpl;
3302 const FunctionDecl *Definition = Tmpl;
3303 Tmpl->isDefined(Definition);
3313 /// (Tmpl).
3318 CXXMethodDecl *Tmpl) {
3319 if (InitFunctionInstantiation(New, Tmpl))
3322 New->setAccess(Tmpl->getAccess());
3323 if (Tmpl->isVirtualAsWritten())
3326 // FIXME: New needs a pointer to Tmpl
3800 VarTemplatePartialSpecializationDecl *Tmpl =
3803 Tmpl->getInstantiatedFromMember()) {
3804 if (Tmpl->isMemberSpecialization())
3807 Tmpl = From;
3809 PatternDecl = Tmpl;
3811 VarTemplateDecl *Tmpl = PatternPtr.get<VarTemplateDecl *>();
3813 Tmpl->getInstantiatedFromMemberTemplate()) {
3814 if (Tmpl->isMemberSpecialization())
3817 Tmpl = From;
3819 PatternDecl = Tmpl->getTemplatedDecl();
4026 const CXXConstructorDecl *Tmpl,
4030 bool AnyErrors = Tmpl->isInvalidDecl();
4033 for (const auto *Init : Tmpl->inits()) {