This is an archive of the discontinued LLVM Phabricator instance.

clang: Only define OBJC_NEW_PROPERTIES when -x objective-c
ClosedPublic

Authored by dexonsmith on Jan 17 2020, 5:35 PM.

Details

Reviewers
rjmccall
arphaman
Summary

Since 2009 (in r63846) we've been #define-ing OBJC_NEW_PROPERTIES all
the time on Darwin, but this macro only makes sense for -x objective-c
and -x objective-c++. Restrict it to those cases (for which there is
already separate logic).

rdar://problem/10050342

Diff Detail

Event Timeline

dexonsmith created this revision.Jan 17 2020, 5:35 PM
This revision is now accepted and ready to land.Jan 17 2020, 5:55 PM