]> granicus.if.org Git - clang/commit
Support for destroying operator delete, per C++2a proposal P0722.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 13 Oct 2017 01:55:36 +0000 (01:55 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 13 Oct 2017 01:55:36 +0000 (01:55 +0000)
commit404915f6a478cc55d43a338a6a6fdec062642960
tree2e30752c96ca662718cda2d85a3815391a1d83f8
parenta2f602c73190d0754126a1dc122b871598a37df0
Support for destroying operator delete, per C++2a proposal P0722.

This feature is not (yet) approved by the C++ committee, so this is liable to
be reverted or significantly modified based on committee feedback.

No functionality change intended for existing code (a new type must be defined
in namespace std to take advantage of this feature).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315662 91177308-0d34-0410-b5e6-96231b3b80d8
19 files changed:
include/clang/AST/ASTMutationListener.h
include/clang/AST/Decl.h
include/clang/AST/DeclCXX.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Serialization/ASTWriter.h
lib/AST/Decl.cpp
lib/AST/DeclCXX.cpp
lib/AST/ExprCXX.cpp
lib/CodeGen/CGClass.cpp
lib/CodeGen/CGExprCXX.cpp
lib/CodeGen/ItaniumCXXABI.cpp
lib/Frontend/MultiplexConsumer.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExprCXX.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
lib/Serialization/ASTWriterDecl.cpp
test/CodeGenCXX/cxx2a-destroying-delete.cpp [new file with mode: 0644]
test/SemaCXX/cxx2a-destroying-delete.cpp [new file with mode: 0644]