[PATCH] D55741: Implementation Feature Test Macros for P0722R3

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 16 15:29:04 PST 2019


rsmith added a comment.

@jwakely, we should come to a common understanding of the right behavior here :) (and then probably report back to SG-10).

Clang unconditionally makes sized delete work if you have a suitable library type, and expects the library to decide whether it wants to provide the library type as an extension in earlier language modes. As a result, we currently define the `__cpp_impl` macro unconditionally, which breaks libstdc++'s approach.


Repository:
  rC Clang

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

https://reviews.llvm.org/D55741





More information about the cfe-commits mailing list