This is an archive of the discontinued LLVM Phabricator instance.

Merge two attribute diagnostics into one
ClosedPublic

Authored by asavonic on Sep 10 2018, 4:25 AM.

Details

Summary

Merged the recently added err_attribute_argument_negative diagnostic
with existing err_attribute_requires_positive_integer diagnostic:
the former allows only strictly positive integer, while the latter
also allows zero.

Diff Detail

Repository
rC Clang

Event Timeline

asavonic created this revision.Sep 10 2018, 4:25 AM
This revision is now accepted and ready to land.Sep 10 2018, 1:20 PM
This revision was automatically updated to reflect the committed changes.