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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits