[PATCH] D23314: [analyzer] CloneDetector allows comparing clones for suspicious variable pattern errors.

Raphael Isemann via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 17 14:23:59 PDT 2016


teemperor added inline comments.

================
Comment at: test/Analysis/copypaste/suspicious-clones.cpp:11
@@ +10,3 @@
+    return a;
+  return b; // expected-note{{Suggestion is based on the useage of this variable in a similar piece of code.}}
+}
----------------
v.g.vassilev wrote:
> This note here is very obscure. It doesn't contain a lot of meaningful information. It should give a hint where is this similar piece of code.
The note is paired with a warning as discussed in last meeting, so I'll mark this as done :).


https://reviews.llvm.org/D23314





More information about the cfe-commits mailing list