[cfe-commits] r115275 - /cfe/trunk/lib/Analysis/CFG.cpp
Zhongxing Xu
xuzhongxing at gmail.com
Thu Sep 30 20:31:06 PDT 2010
Author: zhongxingxu
Date: Thu Sep 30 22:31:06 2010
New Revision: 115275
URL: http://llvm.org/viewvc/llvm-project?rev=115275&view=rev
Log:
Now the whether adding implicit dtors is controlled by cmd option.
Modified:
cfe/trunk/lib/Analysis/CFG.cpp
Modified: cfe/trunk/lib/Analysis/CFG.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CFG.cpp?rev=115275&r1=115274&r2=115275&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CFG.cpp (original)
+++ cfe/trunk/lib/Analysis/CFG.cpp Thu Sep 30 22:31:06 2010
@@ -396,8 +396,6 @@
return NULL;
BuildOpts = BO;
- if (!C->getLangOptions().CPlusPlus)
- BuildOpts.AddImplicitDtors = false;
// Create an empty block that will serve as the exit block for the CFG. Since
// this is the first block added to the CFG, it will be implicitly registered
More information about the cfe-commits
mailing list