diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-02-21 18:36:56 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-02-21 18:36:56 +0000 |
commit | 90d554ecb30d5282aff54aca2f9b0f3751e83c8c (patch) | |
tree | 5a7fde105ec946945bbd76347cc49828f8340300 /llvm/lib | |
parent | 901e717f9295e5d9616777ad2a0c89c86ef5268d (diff) | |
download | bcm5719-llvm-90d554ecb30d5282aff54aca2f9b0f3751e83c8c.tar.gz bcm5719-llvm-90d554ecb30d5282aff54aca2f9b0f3751e83c8c.zip |
Implement support for parsing pseudo-destructor expression with a nested-name-specifier, e.g.,
typedef int Int;
int *p;
p->Int::~Int();
This weakens the invariant that the only types in nested-name-specifiers are tag types (restricted to class types in C++98/03). However, we weaken this invariant as little as possible, accepting arbitrary types in nested-name-specifiers only when we're in a member access expression that looks like a pseudo-destructor expression.
llvm-svn: 96743
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions