mclow.lists added inline comments. ================ Comment at: clang-tidy/misc/StdSwapCheck.cpp:68 @@ +67,3 @@ + callee(expr(ignoringParenImpCasts(declRefExpr(has(nestedNameSpecifierLoc().bind("namespace"))))))).bind("swap"), + this); +} ---------------- I believe that if you do that, you lose the arguments as well.
std::swap(x,y); -> { using ::std::swap; swap; } ================ Comment at: clang-tidy/misc/StdSwapCheck.h:19 @@ +18,3 @@ +/// A checker that finds ns-qualified calls to std::swap, and replaces them +/// with calls that use ADL instead. +/// ---------------- aaron.ballman wrote: > Strange indentation on the second line of the comment. I like that indentation :-) It indicates that this is a continuation of the previous line. http://reviews.llvm.org/D15121 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits