[PATCH] D53025: [clang-tidy] implement new check for const return types.

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 11 12:57:30 PDT 2018


Eugene.Zelenko added inline comments.


================
Comment at: docs/clang-tidy/checks/readability-const-value-return.rst:7
+Checks for functions with a ``const``-qualified return type and recommends
+removal of the ``const`` keyword.  Such use of ``const`` is superfluous, and
+prevents valuable compiler optimizations.
----------------
Please remove the double space


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D53025





More information about the cfe-commits mailing list