[cfe-commits] r89451 - /cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h

Zhongxing Xu xuzhongxing at gmail.com
Thu Nov 19 22:14:56 PST 2009


Author: zhongxingxu
Date: Fri Nov 20 00:14:56 2009
New Revision: 89451

URL: http://llvm.org/viewvc/llvm-project?rev=89451&view=rev
Log:
no need to cast.

Modified:
    cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h

Modified: cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h?rev=89451&r1=89450&r2=89451&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h Fri Nov 20 00:14:56 2009
@@ -215,7 +215,7 @@
   void setAuditor(GRAuditor* A) { Auditor = A; }
 
   const GRState* GetState(ExplodedNode* Pred) const {
-    if ((ExplodedNode*) Pred == getBasePredecessor())
+    if (Pred == getBasePredecessor())
       return CleanedState;
     else
       return Pred->getState();





More information about the cfe-commits mailing list