diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-11-23 03:20:54 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-11-23 03:20:54 +0000 |
commit | 0835e4cccfef3ea5346962722b79484f6b3ca602 (patch) | |
tree | ae430d81b6e27ee518338da48ce110f316dfeed5 /lib/Analysis/GRExprEngineInternalChecks.cpp | |
parent | d5532b6cfff2977e0c59fa6ead7f7973984a620d (diff) |
Initial refactor of UndefBranchChecker. We still use GRBranchNodeBuilder
in the checker directly. But I don't have a better approach for now.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89640 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngineInternalChecks.cpp')
-rw-r--r-- | lib/Analysis/GRExprEngineInternalChecks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/GRExprEngineInternalChecks.cpp b/lib/Analysis/GRExprEngineInternalChecks.cpp index e5eba0a5b0..d5fe20019d 100644 --- a/lib/Analysis/GRExprEngineInternalChecks.cpp +++ b/lib/Analysis/GRExprEngineInternalChecks.cpp @@ -306,7 +306,6 @@ void GRExprEngine::RegisterInternalChecks() { // create BugReports on-the-fly but instead wait until GRExprEngine finishes // analyzing a function. Generation of BugReport objects is done via a call // to 'FlushReports' from BugReporter. - BR.Register(new UndefBranch(this)); BR.Register(new UndefResult(this)); BR.Register(new NilReceiverStructRet(this)); BR.Register(new NilReceiverLargerThanVoidPtrRet(this)); @@ -325,4 +324,5 @@ void GRExprEngine::RegisterInternalChecks() { RegisterReturnUndefChecker(*this); RegisterUndefinedArraySubscriptChecker(*this); RegisterUndefinedAssignmentChecker(*this); + RegisterUndefBranchChecker(*this); } |