diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-10-01 03:31:06 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-10-01 03:31:06 +0000 |
commit | a1a5d8e75076470c35fb069b98bf2b01904b5960 (patch) | |
tree | c325b6ebcf6ea4b0c12b77b6bf07bff3d2bf16a4 /lib/Analysis/CFG.cpp | |
parent | 6a16a306f6226030f8d38ae7e32082888fa937a1 (diff) |
Now the whether adding implicit dtors is controlled by cmd option.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115275 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFG.cpp')
-rw-r--r-- | lib/Analysis/CFG.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Analysis/CFG.cpp b/lib/Analysis/CFG.cpp index 278df139f6..047568a32a 100644 --- a/lib/Analysis/CFG.cpp +++ b/lib/Analysis/CFG.cpp @@ -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 |