]> granicus.if.org Git - clang/commitdiff
Continue including temporary destructors in the CFG used for warnings.
authorJordan Rose <jordan_rose@apple.com>
Wed, 5 Sep 2012 23:11:06 +0000 (23:11 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 5 Sep 2012 23:11:06 +0000 (23:11 +0000)
...and hopefully unbreak buildbots. My apologies!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163267 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/AnalysisBasedWarnings.cpp

index 93be773f2dae0bed157482523292d0c4e6b0692b..de6710fbce1e7faeed333d0a836a9482a4629c4b 100644 (file)
@@ -1199,7 +1199,8 @@ AnalysisBasedWarnings::IssueWarnings(sema::AnalysisBasedWarnings::Policy P,
   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