Now the whether adding implicit dtors is controlled by cmd option.

llvm-svn: 115275
This commit is contained in:
Zhongxing Xu 2010-10-01 03:31:06 +00:00
parent 6d372f7c0f
commit b06a2cdd2b
1 changed files with 0 additions and 2 deletions

View File

@ -396,8 +396,6 @@ CFG* CFGBuilder::buildCFG(const Decl *D, Stmt* Statement, ASTContext* C,
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