From: Ted Kremenek Date: Thu, 26 Aug 2010 22:04:01 +0000 (+0000) Subject: Remove redundant cast<...>. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=412711774cf912bac8e81ef86da33acac6856b8a;p=clang Remove redundant cast<...>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112229 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Checker/GRExprEngine.cpp b/lib/Checker/GRExprEngine.cpp index 2c07641b17..3578483a82 100644 --- a/lib/Checker/GRExprEngine.cpp +++ b/lib/Checker/GRExprEngine.cpp @@ -1492,7 +1492,7 @@ void GRExprEngine::ProcessSwitch(GRSwitchNodeBuilder& builder) { bool defaultIsFeasible = false; for (iterator I = builder.begin(), EI = builder.end(); I != EI; ++I) { - const CaseStmt* Case = cast(I.getCase()); + const CaseStmt* Case = I.getCase(); // Evaluate the LHS of the case value. Expr::EvalResult V1;