[PATCH] D17926: [clang-tidy] Don't delete unused parameter in class override method in anonymous namespace.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 7 06:44:54 PST 2016


alexfh added inline comments.

================
Comment at: clang-tidy/misc/UnusedParametersCheck.cpp:80
@@ +79,3 @@
+      UsedByRef() ||
+      !ast_matchers::match(cxxMethodDecl(isOverride()), *Function,
+                           *Result.Context)
----------------
I meant, you can use it inside `UsedByRef`.


http://reviews.llvm.org/D17926





More information about the cfe-commits mailing list