[PATCH] D29151: [clang-tidy] Add misc-invalidated-iterators check.

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 26 10:34:21 PST 2017


Eugene.Zelenko added a comment.

In https://reviews.llvm.org/D29151#657435, @Prazek wrote:

> In https://reviews.llvm.org/D29151#656887, @Eugene.Zelenko wrote:
>
> > General question: isn't Static Analyzer is better place for such workflow checks?
>
>
> Probably yes, but it is much harder to implement this there. Other problem is that it would be probably a part 
>  of one of the alpha checks, that are not developed and I don't know if they will ever be fully supported.


But it'll be necessary to re-implement part of Static Analyzer functionality in Clang-tidy. Will it be generic enough to be used for similar purposes?

It'll be good idea to find out Static Analyzer release criteria.


Repository:
  rL LLVM

https://reviews.llvm.org/D29151





More information about the cfe-commits mailing list