[cfe-commits] [PATCH] Improved handling of member pointers
dgregor at apple.com
Wed Nov 4 08:49:24 PST 2009
On Nov 1, 2009, at 1:11 AM, Peter Collingbourne wrote:
> This patch modifies Sema to store the unresolved class type
> in MemberPointerType's Class field, and fixes a bug where an
> assertion would fail if the last element of a member pointer type's
> nested-name-specifier is an identifier.
Very nice, thanks! I've committed this here:
The only change I made was to replace the cascading if's (to decompose
the NestedNameSpecifier) with a switch statement, so that any future
extensions to NestedNameSpecifier will trigger a warning here.
More information about the cfe-commits