[cfe-commits] r89887 - /cfe/trunk/lib/Frontend/AnalysisConsumer.cpp
Ted Kremenek
kremenek at apple.com
Wed Nov 25 13:58:39 PST 2009
Author: kremenek
Date: Wed Nov 25 15:58:39 2009
New Revision: 89887
URL: http://llvm.org/viewvc/llvm-project?rev=89887&view=rev
Log:
Call GRExprEngine::setTransferFunctions() after registering all Checkers. This allows GRTransferFuncs::RegisterChecks() to always be called after all checkers have been registered.
Modified:
cfe/trunk/lib/Frontend/AnalysisConsumer.cpp
Modified: cfe/trunk/lib/Frontend/AnalysisConsumer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/AnalysisConsumer.cpp?rev=89887&r1=89886&r2=89887&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/AnalysisConsumer.cpp (original)
+++ cfe/trunk/lib/Frontend/AnalysisConsumer.cpp Wed Nov 25 15:58:39 2009
@@ -328,8 +328,6 @@
return;
GRExprEngine Eng(mgr);
-
- Eng.setTransferFunctions(tf);
if (C.Opts.EnableExperimentalInternalChecks)
RegisterExperimentalInternalChecks(Eng);
@@ -338,6 +336,8 @@
if (C.Opts.EnableExperimentalChecks)
RegisterExperimentalChecks(Eng);
+
+ Eng.setTransferFunctions(tf);
// Set the graph auditor.
llvm::OwningPtr<ExplodedNode::Auditor> Auditor;
More information about the cfe-commits
mailing list