[PATCH] D12359: New warning -Wnonconst-parameter when a pointer parameter can be const

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 8 05:19:51 PST 2015


alexfh added a comment.

Wow, that's a patch with history ;)

My first comment is that the `misc` module mostly consists of checks that are safe to turn on by default. This check does not necessarily meet this bar, so I'd better move it to `readability`. You could also send a new patch, since the concept has totally changed.


http://reviews.llvm.org/D12359





More information about the cfe-commits mailing list