diff options
author | ed <ed@FreeBSD.org> | 2009-06-23 19:32:16 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-06-23 19:32:16 +0000 |
commit | 14660dbe9881f68a6cc2b9f014e1fb7b7228bca4 (patch) | |
tree | 258c14596f927fd77ae8d727dc9c3d4471bf0f46 /lib/Analysis/GRExprEngine.cpp | |
parent | da468bf93e74598f985f4988936ee5ca2dc9a38c (diff) | |
download | FreeBSD-src-14660dbe9881f68a6cc2b9f014e1fb7b7228bca4.zip FreeBSD-src-14660dbe9881f68a6cc2b9f014e1fb7b7228bca4.tar.gz |
Import Clang r73984.
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | lib/Analysis/GRExprEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index d5f0e40..7d56d10 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -2764,7 +2764,7 @@ void GRExprEngine::VisitReturnStmt(ReturnStmt* S, NodeTy* Pred, NodeSet& Dst) { // Determine if the value is on the stack. const MemRegion* R = cast<loc::MemRegionVal>(&X)->getRegion(); - if (R && getStateManager().hasStackStorage(R)) { + if (R && R->hasStackStorage()) { // Create a special node representing the error. if (NodeTy* N = Builder->generateNode(S, GetState(*I), *I)) { N->markAsSink(); |