<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Jun 10, 2011, at 1:49 AM, Jordy Rose wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Modified: cfe/trunk/lib/StaticAnalyzer/Core/Environment.cpp<br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/Environment.cpp?rev=132840&r1=132839&r2=132840&view=diff">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/Environment.cpp?rev=132840&r1=132839&r2=132840&view=diff</a><br>==============================================================================<br>--- cfe/trunk/lib/StaticAnalyzer/Core/Environment.cpp (original)<br>+++ cfe/trunk/lib/StaticAnalyzer/Core/Environment.cpp Fri Jun 10 03:49:37 2011<br>@@ -77,21 +77,6 @@<br>      // For special C0xx nullptr case, make a null pointer SVal.<br>      case Stmt::CXXNullPtrLiteralExprClass:<br>        return svalBuilder.makeNull();<br>-      case Stmt::ImplicitCastExprClass:<br>-      case Stmt::CXXFunctionalCastExprClass:<br>-      case Stmt::CStyleCastExprClass: {<br>-        // We blast through no-op casts to get the descendant<br>-        // subexpression that has a value.<br>-        const CastExpr* C = cast<CastExpr>(E);<br>-        QualType CT = C->getType();<br>-        if (CT->isVoidType())<br>-          return UnknownVal();<br>-        if (C->getCastKind() == CK_NoOp) {<br>-          E = C->getSubExpr();<br>-          continue;<br>-        }<br>-        break;<br>-      }</span></blockquote></div><div><br></div><div>Hi Jordy,</div><br><div>Can't these still appear in the environment?</div><div><br></div><div>Ted</div></body></html>