diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2010-10-23 18:40:39 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2010-10-23 18:40:39 +0000 |
commit | b8a18805817b17b09764527a86ebc551fa5900b3 (patch) | |
tree | c267f9ca3f7d1cb2966e10f23962c1b2d259571a /gcc/objcp/objcp-lang.c | |
parent | 487a9a3ef8a77211c02d9f130f2db1f20962a58d (diff) | |
download | gcc-b8a18805817b17b09764527a86ebc551fa5900b3.zip gcc-b8a18805817b17b09764527a86ebc551fa5900b3.tar.gz gcc-b8a18805817b17b09764527a86ebc551fa5900b3.tar.bz2 |
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
Diffstat (limited to 'gcc/objcp/objcp-lang.c')
0 files changed, 0 insertions, 0 deletions