diff options
| author | Ted Kremenek <kremenek@apple.com> | 2007-10-01 20:33:52 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2007-10-01 20:33:52 +0000 |
| commit | fb4750b6394ff09a3c6a8c731b6a3a6818f442fd (patch) | |
| tree | 1579d182fa1ae0ed3280862912126061e4f47d3f /clang/Analysis/DeadStores.cpp | |
| parent | f2d4372ba950cc85e41f624bd569b575e81fc11b (diff) | |
| download | bcm5719-llvm-fb4750b6394ff09a3c6a8c731b6a3a6818f442fd.tar.gz bcm5719-llvm-fb4750b6394ff09a3c6a8c731b6a3a6818f442fd.zip | |
Migrated LiveVariables and UninitializedVariables to now use the
tracked BlkExpr information now maintained by the CFG class.
llvm-svn: 42498
Diffstat (limited to 'clang/Analysis/DeadStores.cpp')
| -rw-r--r-- | clang/Analysis/DeadStores.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Analysis/DeadStores.cpp b/clang/Analysis/DeadStores.cpp index 3c3117cf09b..1b85138029e 100644 --- a/clang/Analysis/DeadStores.cpp +++ b/clang/Analysis/DeadStores.cpp @@ -76,7 +76,7 @@ public: namespace clang { void CheckDeadStores(CFG& cfg, ASTContext &Ctx, Diagnostic &Diags) { - LiveVariables L; + LiveVariables L(cfg); L.runOnCFG(cfg); DeadStoreObs A(Ctx, Diags); L.runOnAllBlocks(cfg,A); |

