[PATCH] D45013: Generate warning when over-aligned new call is required but not supported.

Volodymyr Sapsai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 29 18:16:52 PDT 2018


vsapsai added a comment.

Does it make sense to have a warning for `__libcpp_deallocate` and `get_temporary_buffer` too? Not sure about deallocate as you have allocated memory already and allocation has a warning. So for deallocation a warning can be too noisy. But for `get_temporary_buffer` the warning seems reasonable, unless I'm missing something.


Repository:
  rCXX libc++

https://reviews.llvm.org/D45013





More information about the cfe-commits mailing list