[PATCH] D15332: new clang-tidy checker readability-non-const-parameter

Daniel Marjamäki via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 9 23:11:25 PST 2015


danielmarjamaki added a comment.

In http://reviews.llvm.org/D15332#306097, @Eugene.Zelenko wrote:

> This check partially implements PR19419. Could it be extended to variables?


Yes, I don't see any technical reasons why that would not work. However politically, some people like const variables and others don't.


http://reviews.llvm.org/D15332





More information about the cfe-commits mailing list