This is an archive of the discontinued LLVM Phabricator instance.

[Sema] Create a separate group for incompatible function pointer warning
ClosedPublic

Authored by bruno on Jul 11 2016, 5:12 PM.

Details

Summary

Give incompatible pointer warning for function pointers its own diagnostic group while leaving it as a subgroup of incompatible-pointer-types. This is in preparation to promote -Wincompatible-function-pointer-types to error on some darwin targets.

Diff Detail

Event Timeline

bruno updated this revision to Diff 63612.Jul 11 2016, 5:12 PM
bruno retitled this revision from to [Sema] Create a separate group for incompatible function pointer warning.
bruno updated this object.
bruno added reviewers: bob.wilson, doug.gregor, krememek.
bruno added subscribers: cfe-commits, dexonsmith.
doug.gregor accepted this revision.Jul 14 2016, 9:39 PM
doug.gregor edited edge metadata.

LGTM!

This revision is now accepted and ready to land.Jul 14 2016, 9:39 PM
bruno closed this revision.Jul 18 2016, 2:08 PM

Thanks, r275907.