aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp
diff options
context:
space:
mode:
authorJordy Rose <jediknil@belkadan.com>2011-08-21 21:04:38 +0000
committerJordy Rose <jediknil@belkadan.com>2011-08-21 21:04:38 +0000
commitdf0fcddd37cab58959e2aaaa7a339900ee069a32 (patch)
treee11942f84a4da54f716e017924c7f100accaf4f1 /lib/StaticAnalyzer/Core/ExprEngineObjC.cpp
parent500abad7edfcc2409b18dd616cdbc28a094926f5 (diff)
[analyzer] Remove FIXME; Ted reminded me that -init is not guaranteed to return its receiver and pretending that it does won't actually buy us anything. (Comment change only.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138221 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/ExprEngineObjC.cpp')
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngineObjC.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp b/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp
index 66cef61d99..6cfe8cdc93 100644
--- a/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp
+++ b/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp
@@ -254,7 +254,6 @@ void ExprEngine::evalObjCMessage(ExplodedNodeSet &Dst, const ObjCMessage &msg,
case OMF_retain:
case OMF_self: {
// These methods return their receivers.
- // FIXME: Should OMF_init be included here?
const Expr *ReceiverE = msg.getInstanceReceiver();
if (ReceiverE)
ReturnValue = state->getSVal(ReceiverE);