[PATCH] D15121: A new clang-tidy module to find calls to `std::swap`, and change them to use ADL

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 2 13:13:07 PST 2015


mclow.lists updated this revision to Diff 41662.
mclow.lists added a comment.

More tests; incorporated some of the suggestions for making sure we don't step on other people's namespaces named `std`.


http://reviews.llvm.org/D15121

Files:
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/MiscTidyModule.cpp
  clang-tidy/misc/StdSwapCheck.cpp
  clang-tidy/misc/StdSwapCheck.h
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/misc-std-swap.rst
  test/clang-tidy/misc-StdSwap.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15121.41662.patch
Type: text/x-patch
Size: 10998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151202/e645af75/attachment.bin>


More information about the cfe-commits mailing list