This is an archive of the discontinued LLVM Phabricator instance.

Ignore -f(no)objc-arc-exception when -fno-objc-arc set
ClosedPublic

Authored by onhachoe on Jan 24 2017, 3:38 PM.

Details

Reviewers
rjmccall
Summary

Sometime clang would be supplied -fobjc-arc -f(no)objc-arc-exceptions
and then later disable ARC with -fno-objc-arc, which only negate first
option, but not the latter, resulting usused argument warning.
Silence this warning only when -fno-objc-arc option is present.

Event Timeline

onhachoe created this revision.Jan 24 2017, 3:38 PM
rjmccall accepted this revision.Jan 24 2017, 4:27 PM

Yes, that seems reasonable.

This revision is now accepted and ready to land.Jan 24 2017, 4:27 PM
compnerd closed this revision.Jan 24 2017, 7:48 PM
compnerd added a subscriber: compnerd.

SVN r293014.