[PATCH] D19146: [clang-tidy] New checker to detect suspicious string constructor.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 15 06:57:25 PDT 2016


alexfh added a comment.

In http://reviews.llvm.org/D19146#402410, @alexfh wrote:

> I wonder whether `misc-swapped-arguments` can be tuned to handle these cases in a more generic way? The only missing part so far seems to be the lack of `cxxConstructExpr` support.


And by "these cases" I mean the swapped arguments mistake, not the more string-specific ones.


http://reviews.llvm.org/D19146





More information about the cfe-commits mailing list