[all-commits] [llvm/llvm-project] 903bda: PR46640: Permit the first parameter of a destroyin...
Richard Smith via All-commits
all-commits at lists.llvm.org
Wed Jul 8 14:30:58 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 903bda14c330505ebede522a1f55673d88909c6d
https://github.com/llvm/llvm-project/commit/903bda14c330505ebede522a1f55673d88909c6d
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/SemaCXX/cxx2a-destroying-delete.cpp
Log Message:
-----------
PR46640: Permit the first parameter of a destroying 'operator delete' to
be dependent if it names the right type.
This matches the GCC behavior, but no longer matches the standard
wording. However, the standard wording in this case is not in line with
the intent, which was to require the enclosing class type to be named
directly. I've reported this wording oversight to the committee.
More information about the All-commits
mailing list