HomePhabricator

[testsuite] xfailed two tests that depend on NSString conforming to NSCopying.

Description

[testsuite] xfailed two tests that depend on NSString conforming to NSCopying.

NSString is loaded from the DWARF, which doesn't have the concept of protocols.
When this is used with the NSMutableDictionary type from Objective-C modules,
this produces errors of the form

error: cannot initialize a parameter of type 'id<NSCopying> _Nonnull' with an rvalue of type 'NSString *'

We're aware of these problems and have an internal bug report filed
(rdar://problem/32777981)

Details

Committed
spyffeJun 14 2017, 4:01 PM
Parents
rL305423: Don't check side effects for functions outside of SCoP
Branches
Unknown
Tags
Unknown