diff options
author | Anna Zaks <ganna@apple.com> | 2012-07-26 00:27:51 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-07-26 00:27:51 +0000 |
commit | 9dc5167e4017ef4c8b327abb6f72225eec2e0f19 (patch) | |
tree | af01a87a9158c3e3f8b20f6f5c22af3d063754a7 /lib/StaticAnalyzer/Core/ExprEngineObjC.cpp | |
parent | fc999ac663eca933359047c88dc4a1ef6e579e8a (diff) |
[analyzer] Inline ObjC class methods.
- Some cleanup(the TODOs) will be done after ObjC method inlining is
complete.
- Simplified CallEvent::getDefinition not to require ISDynamicDispatch
parameter.
- Also addressed Jordan's comments from r160530.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160768 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/ExprEngineObjC.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/ExprEngineObjC.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp b/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp index a8e0b3b809..1e59fb117b 100644 --- a/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp +++ b/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp @@ -190,9 +190,6 @@ void ExprEngine::VisitObjCMessage(const ObjCMethodCall &msg, // Generate a transition to non-Nil state. if (notNilState != state) Pred = Bldr.generateNode(currentStmt, Pred, notNilState); - - // Evaluate the call. - defaultEvalCall(Bldr, Pred, msg); } } else { // Check for special class methods. @@ -242,10 +239,10 @@ void ExprEngine::VisitObjCMessage(const ObjCMethodCall &msg, } } - - // Evaluate the call. - defaultEvalCall(Bldr, Pred, msg); } + // Evaluate the call. + defaultEvalCall(Bldr, Pred, msg); + } ExplodedNodeSet dstPostvisit; |