In gcc/cp/: 2010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
commitb8a18805817b17b09764527a86ebc551fa5900b3
authorNicola Pero <nicola.pero@meta-innovation.com>
Sat, 23 Oct 2010 18:40:39 +0000 (23 18:40 +0000)
committerNicola Pero <nicola@gcc.gnu.org>
Sat, 23 Oct 2010 18:40:39 +0000 (23 18:40 +0000)
treec267f9ca3f7d1cb2966e10f23962c1b2d259571a
parent487a9a3ef8a77211c02d9f130f2db1f20962a58d
In gcc/cp/: 2010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>

In gcc/cp/:
2010-10-23  Nicola Pero  <nicola.pero@meta-innovation.com>

        * tree.c (cxx_printable_name_internal): In Objective-C++, call
        objc_maybe_printable_name.

In gcc/objc/:
2010-10-23  Nicola Pero  <nicola.pero@meta-innovation.com>

        * objc-act.c (OBJC_GEN_METHOD_LABEL): Updated comments.
        (objc_demangle): Return NULL if demangling can not be done because
        the string to demangle is not an Objective-C mangled method name.
        Be smarter in demangling method names so that at least for methods
        with no arguments we are able to almost always demangle '_' correctly.
        Updated comments.
        (objc_maybe_printable_name): New.
        (objc_printable_name): Call objc_maybe_printable_name.  If it
        returns NULL, call cxx_printable_name in Objective-C++.

In gcc/testsuite/:
2010-10-23  Nicola Pero  <nicola.pero@meta-innovation.com>

        * objc.dg/demangle-1.m: New test.
        * obj-c++.dg/demangle-1.mm: New test.
        * obj-c++.dg/demangle-2.mm: New test.
        * obj-c++.dg/demangle-3.mm: New test.

In gcc/c-family/:
2010-10-23  Nicola Pero  <nicola.pero@meta-innovation.com>

        * c-common.h (objc_maybe_printable_name): New.
        * stub-objc.c (objc_maybe_printable_name): New.

From-SVN: r165887
12 files changed:
gcc/c-family/ChangeLog
gcc/c-family/c-common.h
gcc/c-family/stub-objc.c
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/objc/ChangeLog
gcc/objc/objc-act.c
gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/demangle-1.mm [new file with mode: 0644]
gcc/testsuite/obj-c++.dg/demangle-2.mm [new file with mode: 0644]
gcc/testsuite/obj-c++.dg/demangle-3.mm [new file with mode: 0644]
gcc/testsuite/objc.dg/demangle-1.m [new file with mode: 0644]