[cfe-commits] r54563 - /cfe/trunk/lib/Analysis/CheckDeadStores.cpp

Chris Lattner clattner at apple.com
Fri Aug 8 17:36:58 PDT 2008


On Aug 8, 2008, at 5:05 PM, Ted Kremenek wrote:
> URL: http://llvm.org/viewvc/llvm-project?rev=54563&view=rev
> Log:
> Don't use Expr::isIntegerConstantExpr just to check if a pointer  
> value is initialize to NULL.

Please FIXME this :).  We really need an "isNullPointerConstant" check  
in expr if we don't have one already.  I understand why you're  
avoiding this in the short term though.

-Chris




More information about the cfe-commits mailing list