sending a message to a nil receiver.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68686
91177308-0d34-0410-b5e6-
96231b3b80d8
N->markAsSink();
if (isFeasibleNotNull)
NilReceiverStructRetImplicit.insert(N);
- else {
+ else
NilReceiverStructRetExplicit.insert(N);
- return;
- }
}
}
}
N->markAsSink();
if(isFeasibleNotNull)
NilReceiverLargerThanVoidPtrRetImplicit.insert(N);
- else {
+ else
NilReceiverLargerThanVoidPtrRetExplicit.insert(N);
- return;
- }
}
}
else if (!isFeasibleNotNull) {
}
}
// We have handled the cases where the receiver is nil. The remainder
- // of this method should assume that the receiver is not nil.
+ // of this method should assume that the receiver is not nil.
+ if (!StNotNull)
+ return;
+
state = StNotNull;
}