Bug 5703 - nested classes type display is incorrect
Summary: nested classes type display is incorrect
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-30 22:23 UTC by Stan Cox
Modified: 2008-05-01 19:14 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stan Cox 2008-01-30 22:23:52 UTC
class class_nested_class	
{
public:
  class nested
  {
   public:
    nested (int i) : z(i) {}
    int z;
  };
} class_nested_class_v;

yields:

struct class_nested_class_v {
}
Comment 1 Stan Cox 2008-05-01 19:14:34 UTC
Allow for "this" return and parameter values.
    
* TypeFactory.java (getGccStructOrClassType): Set dieHash.
(getType): Set "this" reference from dieHash.
* Type.java (toPrintBrief): New.
* funit-type-class.cxx (class_nested_class): New.
(class_ref_method): New.