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();
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits