[PATCH] D45702: [clang-tidy] Add a new check, readability-redundant-data-call, that finds and removes redundant calls to .data().

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 3 04:41:47 PDT 2018


aaron.ballman added a comment.

In https://reviews.llvm.org/D45702#1085890, @shuaiwang wrote:

> In https://reviews.llvm.org/D45702#1085224, @aaron.ballman wrote:
>
> > > Have you run this over any large code bases to see whether the check triggers in practice?
> >
> > I'm still curious about this, btw.
>
>
> Yes it triggers in Google's code base.


Were there any false positives that you saw?


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D45702





More information about the cfe-commits mailing list