[PATCH] [analyzer] Fix FP warnings when binding a temporary to a local static variable
Jordan Rose
jordan_rose at apple.com
Mon Jul 15 11:23:46 PDT 2013
================
Comment at: lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:158
@@ +157,3 @@
+ dyn_cast<MaterializeTemporaryExpr>(NStmtElem->getStmt())) {
+ if (MT->getStorageDuration() == SD_Static) {
+ MemRegionManager &MRMgr = getSValBuilder().getRegionManager();
----------------
SD_Thread here as well.
http://llvm-reviews.chandlerc.com/D1133
BRANCH
master
ARCANIST PROJECT
clang
More information about the cfe-commits
mailing list