Lines Matching defs:tmpl
6518 tree tmpl = NULL_TREE;
6523 tmpl = OVL_FIRST (fns);
6533 tmpl = TREE_OPERAND (tid, 0);
6534 if (variable_concept_p (tmpl)
6535 || standard_concept_p (tmpl))
6541 gcc_assert (variable_template_p (tmpl));
6546 if (tmpl)
6547 inform (DECL_SOURCE_LOCATION (tmpl),
6548 "%qD declared here", tmpl);
18271 tree tmpl = cp_parser_lookup_name (parser, name,
18278 if (tmpl && tmpl != error_mark_node
18279 && ctad_template_p (tmpl))
18280 type = make_template_placeholder (tmpl);
18281 else if (flag_concepts && tmpl && concept_definition_p (tmpl))
18283 tmpl, tent);
18288 cp_parser_name_lookup_error (parser, name, tmpl,
18376 tree tmpl, bool tentative)
18378 if (tmpl == error_mark_node)
18381 tree orig_tmpl = tmpl;
18385 if (TREE_CODE (tmpl) == TEMPLATE_ID_EXPR)
18387 args = TREE_OPERAND (tmpl, 1);
18388 tmpl = TREE_OPERAND (tmpl, 0);
18397 tree_pair info = finish_type_constraints (tmpl, args, complain);
18448 tree id = build_nt (TEMPLATE_ID_EXPR, tmpl, args);
20661 tree tmpl = cp_parser_lookup_name_simple (parser, name, id->id_loc);
20662 if (tmpl
20663 && (DECL_CLASS_TEMPLATE_P (tmpl)
20664 || DECL_TEMPLATE_TEMPLATE_PARM_P (tmpl)))
20666 id->u.id.unqualified_name = dguide_name (tmpl);
22305 if (tree tmpl = CLASS_PLACEHOLDER_TEMPLATE (auto_node))
22309 inform (DECL_SOURCE_LOCATION (tmpl), "%qD declared here",
22310 tmpl);
28768 tree tmpl = cp_parser_template_name (parser,
28774 if (DECL_CLASS_TEMPLATE_P (tmpl)
28775 || DECL_TEMPLATE_TEMPLATE_PARM_P (tmpl))