[all-commits] [llvm/llvm-project] 04f131: DR1753: Don't permit x.NS::~T() as a pseudo-destru...

Richard Smith via All-commits all-commits at lists.llvm.org
Fri Jan 24 18:53:59 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 04f131da0b19abff611773c03be9bafb53c753ce
      https://github.com/llvm/llvm-project/commit/04f131da0b19abff611773c03be9bafb53c753ce
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-01-24 (Fri, 24 Jan 2020)

  Changed paths:
    M clang/lib/Parse/ParseExprCXX.cpp
    M clang/test/CXX/drs/dr17xx.cpp
    M clang/test/SemaCXX/pseudo-destructors.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  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.




More information about the All-commits mailing list