danielmarjamaki marked 2 inline comments as done. ================ Comment at: test/clang-tidy/readability-non-const-parameter.cpp:4 @@ +3,3 @@ +// Currently the checker only warns about pointer arguments. +// +// It can be defined both that the data is const and that the pointer is const, ---------------- > Imho, I would like to have a warning when the data is modified even though *p > is const. Like this:
hmm.. sorry about that.. that is of course out-of-scope for this check so not relevant to discuss here. http://reviews.llvm.org/D15332 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits