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

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 26 06:06:00 PDT 2018


Eugene.Zelenko added inline comments.


================
Comment at: clang-tidy/readability/ConstValueReturnCheck.cpp:54
+
+namespace {
+
----------------
lebedev.ri wrote:
> Extend the namespace /\ above, so that function is also covered?
Anonymous namespaces are only for class/struct declarations. See LLVM coding guidelines.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D53025





More information about the cfe-commits mailing list