[PATCH] D31757: [clang-tidy] Add a clang-tidy check for possible inefficient vector operations

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 7 02:43:03 PDT 2017


hokein added a comment.

In https://reviews.llvm.org/D31757#720351, @Eugene.Zelenko wrote:

> Isn't such analysis is path-sensitive and should be implemented in Static Analyzer?


This check is more like a flow-sensitive analysis IMO, which can be supported by clang-tidy.

> Please mention this check in docs/ReleaseNotes.rst (in alphabetical order).

Done. I think we could add this tip in the `add_new_check.py` script, so that developers don't forget about it ;)


https://reviews.llvm.org/D31757





More information about the cfe-commits mailing list