diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-08-26 22:04:01 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-08-26 22:04:01 +0000 |
commit | 412711774cf912bac8e81ef86da33acac6856b8a (patch) | |
tree | 6d3a21cd5bc058a51bdc9d0bf45c0262df3045b8 /lib/Checker/GRExprEngine.cpp | |
parent | 3f86b789f5b98731937f90b3941104a313766953 (diff) |
Remove redundant cast<...>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112229 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/GRExprEngine.cpp')
-rw-r--r-- | lib/Checker/GRExprEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<CaseStmt>(I.getCase()); + const CaseStmt* Case = I.getCase(); // Evaluate the LHS of the case value. Expr::EvalResult V1; |