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

Eugene Zelenko via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 1 19:02:24 PDT 2016


Eugene.Zelenko added a comment.

Please also mention check in  docs/ReleaseNotes.rst.


================
Comment at: docs/clang-tidy/checks/readability-non-const-parameter.rst:15
@@ +14,3 @@
+
+  // warning here; the declaration "const char *p" would make the function
+  // interface safer.
----------------
I think you should add ".. code-block:: c++" before code block.



http://reviews.llvm.org/D15332





More information about the cfe-commits mailing list