aaron.ballman accepted this revision.
aaron.ballman added a comment.

LGTM with a release note.

In D152335#4404114 <https://reviews.llvm.org/D152335#4404114>, @erichkeane 
wrote:

> Needs a release note.  Also, the changing of order is POSSIBLY a change in 
> behavior (in that we're now diagnosing 'out of range' before 'power of 2'), 
> but I don't think we care.

I don't consider that a behavioral change to be worried about. Telling the user 
"this value is too big" before telling them "it's not a power of two" seems 
equivalent or perhaps slightly better than "this is not a power of two" and 
then "oh, and it's too big."


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152335/new/

https://reviews.llvm.org/D152335

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to