diff options
author | Mike Stump <mrs@apple.com> | 2010-01-21 17:21:23 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2010-01-21 17:21:23 +0000 |
commit | 55f988efeb08b84c2dd9e4c05990b88c81fe2b58 (patch) | |
tree | 6241051806c22338b353c6e730bbbc6e6c19b049 /lib/Analysis/CFG.cpp | |
parent | 60eea55a98f30a5e8c7d2f76d4b4a6b1a5b4e91f (diff) |
Improve unreachable code warnings with respect to dead binary and
unary operators.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94084 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFG.cpp')
-rw-r--r-- | lib/Analysis/CFG.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/CFG.cpp b/lib/Analysis/CFG.cpp index ef3cdd88ab..5b8aeae5d1 100644 --- a/lib/Analysis/CFG.cpp +++ b/lib/Analysis/CFG.cpp @@ -237,7 +237,8 @@ static VariableArrayType* FindVA(Type* t) { /// transferred to the caller. If CFG construction fails, this method returns /// NULL. CFG* CFGBuilder::buildCFG(const Decl *D, Stmt* Statement, ASTContext* C, - bool AddEHEdges, bool AddScopes) { + bool addehedges, bool AddScopes) { + AddEHEdges = addehedges; Context = C; assert(cfg.get()); if (!Statement) |