[PATCH] D11946: Create clang-tidy module modernize. Add pass-by-value check.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 13 08:52:31 PDT 2015


alexfh requested changes to this revision.
alexfh added a comment.
This revision now requires changes to proceed.

I patched this in and the tests fail for me:

  clang/tools/extra/test/clang-tidy/modernize-pass-by-value.cpp:4:17: error: expected string not found in input
  // CHECK-FIXES: #include <utility>

As discussed offline, please either fix the IncludeInserter or add a fake include to work around the problem.


http://reviews.llvm.org/D11946





More information about the cfe-commits mailing list