[PATCH] C++14: Disable sized deallocation by default due to ABI breakage

Richard Smith richard at metafoo.co.uk
Thu Mar 19 15:09:24 PDT 2015


I have one general concern: we used to provide sized deallocation outside of C++14 mode via `-Xclang -fiszed-deallocation`. With this patch, that no longer works, because `-fsized-deallocation` doesn't cause the sized deallocation functions to get implicitly declared any more.

Given that the implicit declarations are not really useful unless a sized deallocation function is known to be available, and that it seems overkill to have two flags for this feature, perhaps we should keep the implicit declarations and the usage thereof tied together under the same flag?


http://reviews.llvm.org/D8467

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list