diff options
| author | Anna Zaks <ganna@apple.com> | 2012-08-14 00:36:12 +0000 |
|---|---|---|
| committer | Anna Zaks <ganna@apple.com> | 2012-08-14 00:36:12 +0000 |
| commit | 773aa58270746491a1b11e4ef367d2a076a7f456 (patch) | |
| tree | d853aa8fc12a8f942a4e08c9f6c02372b2b36118 /clang/lib | |
| parent | e521f932250d5a72096eb0a43a6fbf0a80c0d59c (diff) | |
| download | bcm5719-llvm-773aa58270746491a1b11e4ef367d2a076a7f456.tar.gz bcm5719-llvm-773aa58270746491a1b11e4ef367d2a076a7f456.zip | |
[analyzer] Add getStackFrame() to CheckerContext and ExplodedNode.
llvm-svn: 161819
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp b/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp index f22d7404c04..fea57337bbd 100644 --- a/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp @@ -125,7 +125,7 @@ DynamicTypePropagation::getObjectTypeForAllocAndNew(const ObjCMessageExpr *MsgE, RecE= RecE->IgnoreParenImpCasts(); if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(RecE)) { - const StackFrameContext *SFCtx = C.getCurrentStackFrame(); + const StackFrameContext *SFCtx = C.getStackFrame(); // Are we calling [self alloc]? If this is self, get the type of the // enclosing ObjC class. if (DRE->getDecl() == SFCtx->getSelfDecl()) { |

