[PATCH] D31860: Add more examples to clang tidy checkers
Alexander Kornienko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 11 02:13:20 PDT 2017
alexfh added a comment.
Another couple of post-commit comments.
================
Comment at: docs/clang-tidy/checks/misc-unused-parameters.rst:15
+
+ void a(int /*i*/) {}
+
----------------
nit: two spaces before the comment.
================
Comment at: docs/clang-tidy/checks/readability-uniqueptr-delete-release.rst:11
+
+ delete P.release();
+
----------------
nit: I'd add a bit more context, namely the definition of P.
https://reviews.llvm.org/D31860
More information about the cfe-commits
mailing list