Lines Matching defs:tmpl
4083 tree tmpl = NULL_TREE;
4086 tmpl = lookup_field (context, name, 0, false);
4088 if (tmpl && TREE_CODE (tmpl) == TYPE_DECL)
4089 tmpl = maybe_get_template_decl_from_type_decl (tmpl);
4091 if (!tmpl || !DECL_TYPE_TEMPLATE_P (tmpl))
4099 && !comp_template_parms (DECL_TEMPLATE_PARMS (tmpl), parm_list))
4103 error ("template parameters do not match template %qD", tmpl);
4104 inform (DECL_SOURCE_LOCATION (tmpl),
4105 "%qD declared here", tmpl);
4110 if (!perform_or_defer_access_check (TYPE_BINFO (context), tmpl, tmpl,
4114 return tmpl;
11743 if (tree tmpl = CLASS_PLACEHOLDER_TEMPLATE (type))
11747 inform (DECL_SOURCE_LOCATION (tmpl), "%qD declared here", tmpl);
12213 tree tmpl = CLASS_PLACEHOLDER_TEMPLATE (auto_node);
12214 if (!tmpl)
12216 tmpl = CLASS_PLACEHOLDER_TEMPLATE (late_auto);
12217 if (tmpl && funcdecl_p)
12223 DECL_NAME (tmpl));
12224 inform (DECL_SOURCE_LOCATION (tmpl),
12225 "%qD declared here", tmpl);
12232 "type", TREE_TYPE (tmpl));
12233 inform (DECL_SOURCE_LOCATION (tmpl),
12234 "%qD declared here", tmpl);
12240 == tmpl))
12245 late_return_type, TREE_TYPE (tmpl));
13374 tree tmpl = TREE_OPERAND (unqualified_id, 0);
13375 if (variable_template_p (tmpl))
13378 "%qD declared as function", tmpl);
13379 inform (DECL_SOURCE_LOCATION (tmpl),
15125 tree tmpl = TYPE_TI_TEMPLATE (t);
15126 DECL_ANTICIPATED (tmpl) = false;
15127 DECL_FRIEND_P (tmpl) = false;