summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/gnu/java/beans/decoder/StringHandler.java
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-26 04:56:45 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-26 04:56:45 +0000
commitaa29061672dcd7886775822f89882bd86fde0750 (patch)
tree1bab3384ca044b2ac3dc7a0b9b2dbbbc8399e741 /libjava/classpath/gnu/java/beans/decoder/StringHandler.java
parentf30fa59a7310a474111759ce7dffca32844dc2d7 (diff)
downloadppe42-gcc-aa29061672dcd7886775822f89882bd86fde0750.tar.gz
ppe42-gcc-aa29061672dcd7886775822f89882bd86fde0750.zip
Implement opaque-enum-specifiers for C++0x.
gcc/ * tree.h (ENUM_IS_OPAQUE): New. * dwarf2out.c (gen_enumeration_type_die): Use ENUM_IS_OPAQUE. gcc/cp/ * cp-tree.h (SET_OPAQUE_ENUM_P): New. (OPAQUE_ENUM_P): New. (ENUM_FIXED_UNDERLYING_TYPE_P): New. (start_enum): Update prototype. (finish_enum_value_list): New prototype. * parser.c (cp_parser_elaborated_type_specifier): Issue a pedwarn if "enum class" is used in an elaborated-type-specifier. (cp_parser_enum_specifier): Rewrite to parse opaque-enum-specifiers. * decl.c (copy_type_enum): New. (finish_enum_value_list): New, with code from finish_enum. (finish_enum): A lot of code removed. Added a gcc_assert. (start_enum): Add parameters enumtype and is_new. Rewrite to work with opaque-enum-specifiers. * pt.c (maybe_process_partial_specialization): Allow for template specialization of enumerations, with a pedwarn. (lookup_template_class): Update call to start_enum. Call to SET_OPAQUE_ENUM_P. (tsubst_enum): Call to begin_scope, finish_scope and finish_enum_value_list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165935 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/gnu/java/beans/decoder/StringHandler.java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud