diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-04-10 16:21:09 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-04-10 16:21:09 +0000 |
commit | f84afb77a0e948451a521fabde08234e2bd2c646 (patch) | |
tree | b365a23092bc8b6c2c392fd02d0347c9fdff4d8d /lib/Analysis/CFRefCount.cpp | |
parent | 4bb6ac2bb626003b62c71c044df8959ddf158435 (diff) |
CFRefCount analysis now properly calls "EmitWarnings" after analyzing a function.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49488 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | lib/Analysis/CFRefCount.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp index 2a7886ba04..efd48218e4 100644 --- a/lib/Analysis/CFRefCount.cpp +++ b/lib/Analysis/CFRefCount.cpp @@ -885,14 +885,11 @@ void CheckCFRefCount(CFG& cfg, Decl& CD, ASTContext& Ctx, if (Diag.hasErrorOccurred()) return; - // FIXME: Refactor some day so this becomes a single function invocation. GRExprEngine Eng(cfg, CD, Ctx); CFRefCount TF; Eng.setTransferFunctions(TF); Eng.ExecuteWorkList(); - - // FIXME: Emit warnings. - + Eng.EmitWarnings(Diag, PD); } } // end clang namespace |