diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-07-28 19:24:31 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-07-28 19:24:31 +0000 |
commit | bb977228e642e0d12365862a3838dd5005ef783b (patch) | |
tree | 6a92c55e8ae8a9d4e3d25fae1a86b73dfdad3b6d /lib/Analysis/GRExprEngineInternalChecks.cpp | |
parent | b2fafd4978166114c54748a73738d8b2c3a37e2b (diff) |
Fix regression in attribute 'nonnull' checking when a transition node
was created but not added to the destination NodeSet. This fixes PR 4630.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77353 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 06fe5b8267..f3ee5b6418 100644 --- a/lib/Analysis/GRExprEngineInternalChecks.cpp +++ b/lib/Analysis/GRExprEngineInternalChecks.cpp @@ -616,7 +616,7 @@ public: // If we reach here all of the arguments passed the nonnull check. // If 'state' has been updated generated a new node. if (state != originalState) - C.generateNode(CE, state); + C.addTransition(C.generateNode(CE, state)); } }; } // end anonymous namespace |