This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to C++ nested class printing


> 	* c-typeprint.c (c_type_print_base): Only strip the initial
> 	Class:: qualification.

Unless I misread the code, JimB took care of this one in a somewhat
different way.  His change also seems to have been omitted from the
ChangeLog (due to oversight, I guess).  I've checked in a ChangeLog
entry (hope that is the right way to recover....).

date: 2000/02/04 19:48:52;  author: jimb;  state: Exp;  lines: +133 -10
* c-typeprint.c (remove_qualifiers): New function.
(c_type_print_base): Use it to remove qualifiers from C++
qualified names, not strrchr.

* c-typeprint.c (c_type_print_base): Recognize type conversion
operators by calling is_type_conversion_operator.
(is_type_conversion_operator): New function.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]