[PATCH] Catch more cases when diagnosing integer-constant-expression overflows.
Richard Smith
richard at metafoo.co.uk
Tue Feb 3 16:30:04 PST 2015
LGTM, thanks!
================
Comment at: lib/AST/ExprConstant.cpp:6851
@@ +6850,3 @@
+ LValue LV;
+ LHSOK = EvaluateLValue(E->getLHS(), LV, Info);
+ LHSOK = false;
----------------
Dead store; remove the `LHSOK = `.
http://reviews.llvm.org/D1238
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the cfe-commits
mailing list