[cfe-commits] r112229 - /cfe/trunk/lib/Checker/GRExprEngine.cpp

Ted Kremenek kremenek at apple.com
Thu Aug 26 15:04:01 PDT 2010


Author: kremenek
Date: Thu Aug 26 17:04:01 2010
New Revision: 112229

URL: http://llvm.org/viewvc/llvm-project?rev=112229&view=rev
Log:
Remove redundant cast<...>.

Modified:
    cfe/trunk/lib/Checker/GRExprEngine.cpp

Modified: cfe/trunk/lib/Checker/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/GRExprEngine.cpp?rev=112229&r1=112228&r2=112229&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Checker/GRExprEngine.cpp Thu Aug 26 17:04:01 2010
@@ -1492,7 +1492,7 @@
   bool defaultIsFeasible = false;
 
   for (iterator I = builder.begin(), EI = builder.end(); I != EI; ++I) {
-    const CaseStmt* Case = cast<CaseStmt>(I.getCase());
+    const CaseStmt* Case = I.getCase();
 
     // Evaluate the LHS of the case value.
     Expr::EvalResult V1;





More information about the cfe-commits mailing list