Lines Matching defs:ctype
288 tree ctype = TYPE_CONTEXT (friend_type);
292 if (!uses_template_parms_level (ctype, class_template_depth
302 = make_unbound_class_template (ctype,
308 = make_typename_type (ctype, name, class_type, tf_error);
312 decl = lookup_member (ctype, name, 0, true);
315 error ("%qT is not a member of %qT", name, ctype);
321 name, ctype);
329 name, ctype);
407 do_friend (tree ctype, tree declarator, tree decl,
412 gcc_assert (!ctype || IS_AGGR_TYPE (ctype));
424 if (ctype)
450 tree cname = TYPE_NAME (ctype);
458 grokclassfn (ctype, decl, flags);
462 if (!uses_template_parms_level (ctype, class_template_depth
471 || COMPLETE_TYPE_P (ctype)
472 || TYPE_BEING_DEFINED (ctype))
483 decl = check_classfn (ctype, decl,
496 decl, ctype);