[PATCH] D18191: [clang-tidy] Add check for function parameters that are const& to builtin types

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 7 10:58:07 PDT 2016


alexfh added inline comments.

================
Comment at: docs/clang-tidy/checks/misc-const-ref-builtin.rst:28
@@ +27,2 @@
+
+The instantiation of g will not be flagged.
----------------
nit: enclose `g` with double backquotes, please. Same with other inline code snippets (`int`, `double`, etc.)


http://reviews.llvm.org/D18191





More information about the cfe-commits mailing list