forked from OSchip/llvm-project
Call GRExprEngine::setTransferFunctions() after registering all Checkers. This allows GRTransferFuncs::RegisterChecks() to always be called after all checkers have been registered.
llvm-svn: 89887
This commit is contained in:
parent
916061f613
commit
de820039b6
|
@ -328,8 +328,6 @@ static void ActionGRExprEngine(AnalysisConsumer &C, AnalysisManager& mgr,
|
|||
return;
|
||||
|
||||
GRExprEngine Eng(mgr);
|
||||
|
||||
Eng.setTransferFunctions(tf);
|
||||
|
||||
if (C.Opts.EnableExperimentalInternalChecks)
|
||||
RegisterExperimentalInternalChecks(Eng);
|
||||
|
@ -338,6 +336,8 @@ static void ActionGRExprEngine(AnalysisConsumer &C, AnalysisManager& mgr,
|
|||
|
||||
if (C.Opts.EnableExperimentalChecks)
|
||||
RegisterExperimentalChecks(Eng);
|
||||
|
||||
Eng.setTransferFunctions(tf);
|
||||
|
||||
// Set the graph auditor.
|
||||
llvm::OwningPtr<ExplodedNode::Auditor> Auditor;
|
||||
|
|
Loading…
Reference in New Issue