mnbvmar added inline comments.

================
Comment at: clang-tidy/misc/UnnecessaryMutableCheck.cpp:47
@@ +46,3 @@
+
+  void RunSearch(const Decl *Declaration) {
+    auto *Body = Declaration->getBody();
----------------
Unless I miss something, the moment we set FoundNonConstUse to true, we stop 
recurring both in FieldUseVisitor and ClassMethodVisitor.


http://reviews.llvm.org/D20053



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to