[PATCH] D53025: [clang-tidy] implement new check for const return types.
Jonas Toth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 31 12:13:57 PDT 2018
JonasToth added inline comments.
================
Comment at: test/clang-tidy/readability-const-return-type.cpp:6
+
+#include <type_traits>
+
----------------
JonasToth wrote:
> One nit: system headers are not allowed in clang-tidy tests. We do mock the required content. Sorry that I overlooked that.
>
> You can take the implementation from here: https://en.cppreference.com/w/cpp/types/add_cv
With that change `-- -- -isystem` should not be required anymore as well.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D53025
More information about the cfe-commits
mailing list