[PATCH] D12031: Const std::move() argument ClangTidy check

Vadym Doroshenko via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 20 02:24:55 PST 2015


dvadym updated this revision to Diff 40751.
dvadym marked 3 inline comments as done.
dvadym added a comment.

New in this upload:
1.Adding checking that language is C++
2.Not consider calls of std::move in template instantation 
3.Creating CharSourceRange for removal
4.Using Lexer::makeFileCharRange( for processing move call in macros


http://reviews.llvm.org/D12031

Files:
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/MiscTidyModule.cpp
  clang-tidy/misc/MoveConstantArgumentCheck.cpp
  clang-tidy/misc/MoveConstantArgumentCheck.h
  test/clang-tidy/move-const-arg.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12031.40751.patch
Type: text/x-patch
Size: 7585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151120/46f8cd7b/attachment.bin>


More information about the cfe-commits mailing list