[PATCH] D19577: [clang-tidy] Enhance misc-suspicious-string-compare by matching string.compare

Etienne Bergeron via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 27 08:38:03 PDT 2016


etienneb added a comment.

In http://reviews.llvm.org/D19577#413526, @alexfh wrote:

> I'm somewhat reluctant to add LLVM-specific checks to misc-. I would prefer either to split the LLVM-specific part to a separate check in llvm/ (which might derive from this check or somehow reuse the logic) or make the check configurable enough so that these checks can be enabled for LLVM in the config file.


How should we solve adding other code base to checkers.
It will be common to have these code base: chromium, llvm, boost, stl.

Should we use the local/global to configure them?


http://reviews.llvm.org/D19577





More information about the cfe-commits mailing list