Clang does not support c++ syntax (new,delete,shared_ptr) for analyze.
No one c++ checker does not support opportunity to say that 'please
use smart pointer instead of naked pointer'. This is good way to avoid
memory leak and avoid other problems related with naked pointer. It
would be very nice , if gcc could do it.

Very useful to receive an error message when exceptions are leaving
the destructor.
Clang with own  analyze tools can not say anything about this error.
It would be very nice if this error is detected by gcc.

Reply via email to