]> gcc.gnu.org Git - gcc.git/commit
class.c (current_class_ptr, [...]): Clarify documentation.
authorMark Mitchell <mark@markmitchell.com>
Sat, 3 Oct 1998 23:11:19 +0000 (23:11 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 3 Oct 1998 23:11:19 +0000 (23:11 +0000)
commit01240200ee6cb2f0a7b731faf63b8aa2a3049f61
treef8109fee965c4dbf574d2437c97abec84280e237
parentd5698b07533c991d016c0c16e0fa0d87d1457565
class.c (current_class_ptr, [...]): Clarify documentation.

* class.c (current_class_ptr, current_class_ref): Clarify
documentation.
* cvt.c (ocp_convert): Don't expect fold to remove all trivial
NOP type conversions.
* decl.c (decls_match): Use comptypes directly; ignore
qualifiers on the DECL.
(duplicate_decls): Remove qualifier checks on DECL.
(grokdeclarator): Make the type built up include top-level
qualifiers.
* decl2.c (do_dtors): Fix spelling error.
* error.c (dump_simple_decl): Don't look at qualifiers on the decl
when printing type information.
* init.c (build_new_1): Add documentation.  Deal with the fact
that type of allocated memory now contains qualifiers.
* lex.c (is_global): Improve error-recovery.
* sig.c (build_member_function_pointer): Don't cast away const
on fields of sigtable_entry_type.
* tree.c (lvalue_type): Don't look at top-level qualifiers on
expressions.
* typeck.c (decay_conversion): Likewise.
(build_component_ref): Make sure the type of the COMPONENT_REF
contains top-level qualifiers, as appropriate.  Improve
error-handling.
(build_indirect_ref): Simplify.  Don't strip top-level qualifiers.
(build_array_ref): Likewise.
(build_unary_op): Improve error-recovery.
(unary_complex_lvalue): Make taking the address a bound member
function an error, not a sorry.
(build_conditional_expr): Look at the type qualifiers, not the
qualifiers on the expression itself.

From-SVN: r22802
12 files changed:
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cvt.c
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/error.c
gcc/cp/init.c
gcc/cp/lex.c
gcc/cp/sig.c
gcc/cp/tree.c
gcc/cp/typeck.c
gcc/testsuite/g++.old-deja/g++.pt/overload3.C [new file with mode: 0644]
This page took 0.062321 seconds and 5 git commands to generate.