DR1753: Don't permit x.NS::~T() as a pseudo-destructor name.
authorRichard Smith <richard@metafoo.co.uk>
Fri, 24 Jan 2020 23:14:25 +0000 (15:14 -0800)
committerRichard Smith <richard@metafoo.co.uk>
Sat, 25 Jan 2020 02:53:50 +0000 (18:53 -0800)
commit04f131da0b19abff611773c03be9bafb53c753ce
tree01ba723253fbe295de23cbe7e1bb03b1757286ac
parentef7f3af760e7942e830a9e7c02a58f8a44e2c750
DR1753: Don't permit x.NS::~T() as a pseudo-destructor name.

When used as qualified names, pseudo-destructors are always named as if
they were members of the type, never as members of the namespace
enclosing the type.
clang/lib/Parse/ParseExprCXX.cpp
clang/test/CXX/drs/dr17xx.cpp
clang/test/SemaCXX/pseudo-destructors.cpp
clang/www/cxx_dr_status.html