]> git.ipfire.org Git - thirdparty/gcc.git/commit
class.c (check_field_decls): Don't special case anonymous fields in error messages.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 7 Dec 2000 14:26:37 +0000 (14:26 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 7 Dec 2000 14:26:37 +0000 (14:26 +0000)
commit38da603971b2179956379c758f953d9a92f358c5
tree366fc57abd7e14073d8ec805faca9244210ec53a
parenta11d04b523a602dc745c64ea7bd9058822ebd89a
class.c (check_field_decls): Don't special case anonymous fields in error messages.

* class.c (check_field_decls): Don't special case anonymous
fields in error messages.
(note_name_declared_in_class): Use %D on diagnostic.

* tree.c (pod_type_p): Use strip_array_types.
(cp_valid_lang_attribute): Likewise.
* typeck.c (cp_type_quals): Strip arrays separately, to avoid
multiple evaluations.
(cp_has_mutable_p): Use strip_array_types.

From-SVN: r38112
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/tree.c
gcc/cp/typeck.c