[PATCH] D57645: [C++2a] Fix PR40576: Turn destroying delete off prior to C++2a. Add -fdestroying-delete

Bruno Ricci via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 3 02:58:36 PST 2019


riccibruno added inline comments.


================
Comment at: lib/AST/DeclCXX.cpp:2070
+  if (isDestroyingOperatorDelete()) {
+    if (!getASTContext().getLangOpts().DestroyingDelete)
+      return false;
----------------
Just use the AST context you have above ?


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57645/new/

https://reviews.llvm.org/D57645





More information about the cfe-commits mailing list