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

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 2 08:09:17 PST 2015


klimek added a reviewer: bkramer.

================
Comment at: clang-tidy/misc/StdSwapCheck.cpp:25
@@ +24,3 @@
+static SourceLocation findSemiAfterLocation(SourceLocation loc,
+                                            ASTContext &Ctx,
+                                            bool IsDecl) {
----------------
We should put that somewhere into Tooling/Core. Adding Benjamin who is our master of Yaks :D


http://reviews.llvm.org/D15121





More information about the cfe-commits mailing list