[cfe-commits] r53964 - /cfe/trunk/lib/Analysis/CheckDeadStores.cpp
clattner at apple.com
Wed Jul 23 17:24:43 PDT 2008
On Jul 23, 2008, at 3:19 PM, Ted Kremenek wrote:
> Author: kremenek
> Date: Wed Jul 23 17:19:56 2008
> New Revision: 53964
> URL: http://llvm.org/viewvc/llvm-project?rev=53964&view=rev
> Don't flag dead stores when the result of a preincrement/
> predecrement is used in an enclosing expression.
So you don't warn about "print(++x)" if x is dead after that? Why not
warn "consider changing ++x to 'x+1'"?
More information about the cfe-commits