<div dir="ltr">Yeah, I was thinking the diff would show the array decl so that the motivation would be less ambiguous, but it looks like it was clipped out entirely. I'll try to be a bit more descriptive in the future, though; thanks for asking to clarify. :)<div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 29, 2016 at 4:59 PM, Aaron Ballman <span dir="ltr"><<a href="mailto:aaron@aaronballman.com" target="_blank">aaron@aaronballman.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Fri, Apr 29, 2016 at 6:02 PM, George Burgess IV<br>
<<a href="mailto:george.burgess.iv@gmail.com" target="_blank">george.burgess.iv@gmail.com</a>> wrote:<br>
> Right under the enum is an 11x11 static array of PromotedType. This change<br>
> makes that array size go from 484 bytes to 121.<br>
<br>
</span>Ah, good to know. That sort of information would be useful in the<br>
commit message (in case we ever do code archaeology for some reason).<br>
Thank you for the explanation!<br>
<span><font color="#888888"><br>
~Aaron<br>
</font></span><div><div><br>
><br>
> On Fri, Apr 29, 2016 at 2:43 PM, Aaron Ballman <<a href="mailto:aaron@aaronballman.com" target="_blank">aaron@aaronballman.com</a>><br>
> wrote:<br>
>><br>
>> On Fri, Apr 29, 2016 at 5:32 PM, George Burgess IV via cfe-commits<br>
>> <<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>> wrote:<br>
>> > Author: gbiv<br>
>> > Date: Fri Apr 29 16:32:53 2016<br>
>> > New Revision: 268113<br>
>> ><br>
>> > URL: <a href="http://llvm.org/viewvc/llvm-project?rev=268113&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=268113&view=rev</a><br>
>> > Log:<br>
>> > [Sema] Specify the underlying type for an enum. NFC.<br>
>><br>
>> What is the benefit to this change?<br>
>><br>
>> ~Aaron<br>
>><br>
>> ><br>
>> > Modified:<br>
>> > cfe/trunk/lib/Sema/SemaOverload.cpp<br>
>> ><br>
>> > Modified: cfe/trunk/lib/Sema/SemaOverload.cpp<br>
>> > URL:<br>
>> > <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=268113&r1=268112&r2=268113&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=268113&r1=268112&r2=268113&view=diff</a><br>
>> ><br>
>> > ==============================================================================<br>
>> > --- cfe/trunk/lib/Sema/SemaOverload.cpp (original)<br>
>> > +++ cfe/trunk/lib/Sema/SemaOverload.cpp Fri Apr 29 16:32:53 2016<br>
>> > @@ -7257,7 +7257,7 @@ class BuiltinOperatorOverloadBuilder {<br>
>> > // (we could precompute SLL x UI for all known platforms, but it's<br>
>> > // better not to make any assumptions).<br>
>> > // We assume that int128 has a higher rank than long long on all<br>
>> > platforms.<br>
>> > - enum PromotedType {<br>
>> > + enum PromotedType : int8_t {<br>
>> > Dep=-1,<br>
>> > Flt, Dbl, LDbl, SI, SL, SLL, S128, UI, UL, ULL,<br>
>> > U128<br>
>> > };<br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > cfe-commits mailing list<br>
>> > <a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
>> > <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
><br>
><br>
</div></div></blockquote></div><br></div></div>