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 | faf0c64d9d873cfde88fc512d1b47174e2109604 (patch) | |
tree | a28942ecda73736f65bfcf445adc72b96045ff74 /clang/lib | |
parent | fc8cfa8b9f7b17bbf1fe9f2e05d84797f1869445 (diff) | |
download | bcm5719-llvm-faf0c64d9d873cfde88fc512d1b47174e2109604.tar.gz bcm5719-llvm-faf0c64d9d873cfde88fc512d1b47174e2109604.zip |
Fix regression in attribute 'nonnull' checking when a transition node
was created but not added to the destination NodeSet. This fixes PR 4630.
llvm-svn: 77353
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Analysis/GRExprEngineInternalChecks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/GRExprEngineInternalChecks.cpp b/clang/lib/Analysis/GRExprEngineInternalChecks.cpp index 06fe5b8267e..f3ee5b6418c 100644 --- a/clang/lib/Analysis/GRExprEngineInternalChecks.cpp +++ b/clang/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 |