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

Piotr Padlewski via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 5 08:53:44 PDT 2016


Prazek added a subscriber: Prazek.

================
Comment at: test/clang-tidy/misc-StdSwap.cpp:7-11
@@ +6,7 @@
+
+// FIXME: Add something that triggers the check here.
+// FIXME: Verify the applied fix.
+//   * Make the CHECK patterns specific enough and try to make verified lines
+//     unique to avoid incorrect matches.
+//   * Use {{}} for regular expressions.
+
----------------
template thing


http://reviews.llvm.org/D15121





More information about the cfe-commits mailing list