Files
clang-p2996/clang/test/SemaCXX/cxx2a-constexpr-dynalloc.cpp
Richard Smith a892b0015e PR49465: Disallow constant evaluation of a call to operator delete(nullptr).
The only time we would consider allowing this is inside a call to
std::allocator<T>::deallocate, whose contract does not permit deletion
of null pointers.
2021-03-09 15:06:06 -08:00

8.0 KiB