[PATCH] D32700: [clang-tidy] Add misc-suspicious-memset-usage check.

Malcolm Parsons via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 2 03:34:08 PDT 2017


malcolm.parsons added a comment.

> The destination is a this pointer within a class that has a virtual function. It might reset the virtual pointer.

Can you change this to match any pointer to a class with a virtual function?

I'd also like a warning for a pointer to a class with a constructor or destructor.


Repository:
  rL LLVM

https://reviews.llvm.org/D32700





More information about the cfe-commits mailing list