[cfe-commits] r136414 - /cfe/trunk/lib/StaticAnalyzer/Core/Environment.cpp
Ted Kremenek
kremenek at apple.com
Thu Jul 28 16:07:41 PDT 2011
Author: kremenek
Date: Thu Jul 28 18:07:41 2011
New Revision: 136414
URL: http://llvm.org/viewvc/llvm-project?rev=136414&view=rev
Log:
[analyzer] Teach Environment to not look through MaterializeTemporaryExprs.
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/Environment.cpp
Modified: cfe/trunk/lib/StaticAnalyzer/Core/Environment.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/Environment.cpp?rev=136414&r1=136413&r2=136414&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/Environment.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/Environment.cpp Thu Jul 28 18:07:41 2011
@@ -83,9 +83,6 @@
case Stmt::CXXBindTemporaryExprClass:
E = cast<CXXBindTemporaryExpr>(E)->getSubExpr();
continue;
- case Stmt::MaterializeTemporaryExprClass:
- E = cast<MaterializeTemporaryExpr>(E)->GetTemporaryExpr();
- continue;
// Handle all other Stmt* using a lookup.
default:
break;
More information about the cfe-commits
mailing list