aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r--lib/Analysis/CFRefCount.cpp5
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