The more detailed diagnostic will make identifying which object the diagnostics refer to easier.
|2000 ↗||(On Diff #81429)|
I think we should use this diagnostic text when type is not an ObjCObjectPointerType also. Where this matters, I think, is for id.
It seems weird to say "returns an instance of id"; I think it would be better in that case to say "returns an Objective-C object".