This is the mail archive of the gdb-prs@sourceware.org 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]
Other format: [Raw text]

[Bug exp/13206] support gcc's typeof


http://sourceware.org/bugzilla/show_bug.cgi?id=13206

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sourceware    |tromey at redhat dot com
                   |dot org                     |

--- Comment #4 from Tom Tromey <tromey at redhat dot com> 2012-06-28 15:39:23 UTC ---
Working on it.

It seems reasonably hard to do in full generality.
E.g., you have to support it in arguments to function types like:

print (void (*) (typeof (x))) &function

I may not do that but I'll at least handle the more obviously
useful cases.

It seems like decltype can use the same code.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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