Please, submit the patch with context as described on the llvm website.
Could you provide more motivation for this patch?
REPOSITORY
rL LLVM
================
Comment at: lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp:61
@@ +60,3 @@
+// Return true for redundant computations.
+static bool RedundantComputation(APSInt &Val, BinaryOperatorKind op) {
+ if (op == BO_Mul && Val == 0)
----------------
This is not a redundant computation, a redundant computation would be 1*x.
http://reviews.llvm.org/D9741
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits