[PATCH] D50883: [clang-tidy] Handle unique owning smart pointers in ExprMutationAnalyzer

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 17 00:41:43 PDT 2018


JonasToth added a comment.

I am suprised that this does not automatically follow from the general rules. At the end, smartpointers cant do anything else then 'normal' classes.

The `operator+/->` were not handled before? The mutation of `SmartPtr x; x->mf();` should already be catched, not?


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D50883





More information about the cfe-commits mailing list