[cfe-commits] r49488 - /cfe/trunk/lib/Analysis/CFRefCount.cpp
Ted Kremenek
kremenek at apple.com
Thu Apr 10 09:21:09 PDT 2008
Author: kremenek
Date: Thu Apr 10 11:21:09 2008
New Revision: 49488
URL: http://llvm.org/viewvc/llvm-project?rev=49488&view=rev
Log:
CFRefCount analysis now properly calls "EmitWarnings" after analyzing a function.
Modified:
cfe/trunk/lib/Analysis/CFRefCount.cpp
Modified: cfe/trunk/lib/Analysis/CFRefCount.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CFRefCount.cpp?rev=49488&r1=49487&r2=49488&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CFRefCount.cpp (original)
+++ cfe/trunk/lib/Analysis/CFRefCount.cpp Thu Apr 10 11:21:09 2008
@@ -885,14 +885,11 @@
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
More information about the cfe-commits
mailing list