pt.c
287 KB
-
decl.c (warn_extern_redeclared_static): Check DECL_ARTIFICIAL... · 9f33663b
* decl.c (warn_extern_redeclared_static): Check DECL_ARTIFICIAL, not DECL_BUILT_IN, to determine if a function is internally declared. (duplicate_decls): Likewise. Improve handling of builtins. (push_overloaded_decl): Remove special handling of builtins. * cp-tree.h (ANON_AGGR_TYPE_P): Use CLASS_TYPE_P. * decl.c (grokdeclarator): Pull out decl_constant_value in templates, too. * class.c (finish_struct, finish_struct_1): Remove 'warn_anon' parm. * cp-tree.h, pt.c, semantics.c: Adjust. * method.c (largest_union_member): Remove. From-SVN: r28204
Jason Merrill committed