[LLVMdev] 2.3 Pre-release available for testing

Morten Ofstad morten at hue.no
Thu May 22 01:08:34 PDT 2008


heisenbug wrote:
> Errrrr, please make that
> 
>   void operator delete(void*, size_t) {}

Yes, that gets rid of the warnings but it has to be public for reasons I don't fully understand (this whole placement 
new trick seems pretty ugly to me). I think it's nice to add an:

assert(0 && "Should never be reached, no exceptions should be thrown during placement new");

instead of having an empty body -- can someone add this to User.h and commit?

m.



More information about the llvm-dev mailing list