Lines Matching defs:template_type

9716       tree template_type = TREE_TYPE (templ);
9725 if (template_type == error_mark_node)
9783 || currently_open_class (template_type))
9785 tree tinfo = TYPE_TEMPLATE_INFO (template_type);
9788 return template_type;
9881 else if (TREE_CODE (template_type) == ENUMERAL_TYPE)
9885 set_current_access_from_decl (TYPE_NAME (template_type));
9886 t = start_enum (TYPE_IDENTIFIER (template_type), NULL_TREE,
9887 tsubst (ENUM_UNDERLYING_TYPE (template_type),
9889 tsubst_attributes (TYPE_ATTRIBUTES (template_type),
9891 SCOPED_ENUM_P (template_type), NULL);
9903 SET_SCOPED_ENUM_P (t, SCOPED_ENUM_P (template_type));
9905 SET_OPAQUE_ENUM_P (t, OPAQUE_ENUM_P (template_type));
9907 = ENUM_FIXED_UNDERLYING_TYPE_P (template_type);
9909 else if (CLASS_TYPE_P (template_type))
9913 gcc_assert (!LAMBDA_TYPE_P (template_type));
9915 t = make_class_type (TREE_CODE (template_type));
9917 = CLASSTYPE_DECLARED_CLASS (template_type);
9926 if (comp_template_args (CLASSTYPE_TI_ARGS (template_type), arglist))
9930 TYPE_CANONICAL (t) = template_type;
9949 = DECL_SOURCE_LOCATION (TYPE_STUB_DECL (template_type));
9954 if (CLASS_TYPE_P (template_type))
9957 = TREE_PRIVATE (TYPE_MAIN_DECL (template_type));
9959 = TREE_PROTECTED (TYPE_MAIN_DECL (template_type));
9960 if (CLASSTYPE_VISIBILITY_SPECIFIED (template_type))
9963 DECL_VISIBILITY (type_decl) = CLASSTYPE_VISIBILITY (template_type);
9975 = lookup_attribute (tags[ix], TYPE_ATTRIBUTES (template_type));
10112 if (TREE_CODE (template_type) == ENUMERAL_TYPE && !is_dependent_type
10121 tsubst_enum (template_type, t, arglist);
10123 if (CLASS_TYPE_P (template_type) && is_dependent_type)