}
else if (startswith ((const char *)p, "ClassMethods"))
return false;
+ else if (startswith ((const char *)p, "ClassProtocols"))
+ return false;
else if (startswith ((const char *)p, "Instance"))
{
if (p[8] == 'I' || p[8] == 'M')
else
decl = start_var_decl (objc_v2_protocol_template, buf);
OBJCMETA (decl, objc_meta, meta_protocol);
+ DECL_PRESERVE_P (decl) = 1;
return decl;
}
expr = convert (objc_class_type, build_fold_addr_expr (expr));
}
/* The runtime wants this, even if it appears unused, so we must force the
- output.
- DECL_PRESERVE_P (decl) = 1; */
+ output. */
+ DECL_PRESERVE_P (decl) = 1;
finish_var_decl (decl, expr);
}
}
expr = convert (objc_protocol_type, build_fold_addr_expr (ref->refdecl));
OBJCMETA (decl, objc_meta, meta_label_protocollist);
finish_var_decl (decl, expr);
+ DECL_PRESERVE_P (decl) = 1;
}
/* TODO: delete the vec. */