[cfe-commits] r163267 - /cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp

Jordan Rose jordan_rose at apple.com
Wed Sep 5 16:11:07 PDT 2012


Author: jrose
Date: Wed Sep  5 18:11:06 2012
New Revision: 163267

URL: http://llvm.org/viewvc/llvm-project?rev=163267&view=rev
Log:
Continue including temporary destructors in the CFG used for warnings.

...and hopefully unbreak buildbots. My apologies!

Modified:
    cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp

Modified: cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp?rev=163267&r1=163266&r2=163267&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp (original)
+++ cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp Wed Sep  5 18:11:06 2012
@@ -1199,7 +1199,8 @@
   AC.getCFGBuildOptions().AddEHEdges = false;
   AC.getCFGBuildOptions().AddInitializers = true;
   AC.getCFGBuildOptions().AddImplicitDtors = true;
-  
+  AC.getCFGBuildOptions().AddTemporaryDtors = true;
+
   // Force that certain expressions appear as CFGElements in the CFG.  This
   // is used to speed up various analyses.
   // FIXME: This isn't the right factoring.  This is here for initial





More information about the cfe-commits mailing list