EricWF added a comment.

In https://reviews.llvm.org/D45015#1121874, @ahatanak wrote:

> I see, thank you.
>
> clang front-end currently fails to issue a warning or error when an aligned 
> allocation/deallocation functions are required but not available in a few 
> cases (e.g., delete called from a deleting destructor, calls to operator or 
> builtin operator new/delete). I suppose those bugs should be fixed in 
> separate patches.


I don't think we need to emit warnings from 
`__builtin_operator_new`/`__builtin_operator_delete`. Libc++ is the only 
consumer, and I think we can trust it to know what it's doing.


https://reviews.llvm.org/D45015



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to