<div dir="ltr">It looks like this patch introduced a bunch of DOS newline control codes into some of the files.  That is, some of the lines have CR+LF rather than just LF.  I'll create a patch to fix it.  (I'm adding unroll pragma support on top of this patch).<div>
<br></div><div>Mark<br><div><br></div><div><br>
</div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 6, 2014 at 5:49 AM, 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">Thanks! I've committed in r210330.<br>
<span class="HOEnZb"><font color="#888888"><br>
~Aaron<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Thu, Jun 5, 2014 at 9:43 PM, Tyler Nowicki <<a href="mailto:tnowicki@apple.com">tnowicki@apple.com</a>> wrote:<br>
> Ok, here is the patch without [[clang::fallthrough]].<br>
><br>
> Could you please commit the patch. I don’t have commit privileges.<br>
><br>
> Thanks,<br>
><br>
> Tyler<br>
><br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> On Jun 5, 2014, at 6:00 PM, Richard Smith <<a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>> wrote:<br>
><br>
> On Wed, Jun 4, 2014 at 8:18 PM, Reid Kleckner <<a href="mailto:rnk@google.com">rnk@google.com</a>> wrote:<br>
>><br>
>> On Wed, Jun 4, 2014 at 7:57 PM, Tyler Nowicki <<a href="mailto:tnowicki@apple.com">tnowicki@apple.com</a>> wrote:<br>
>>><br>
>>> Hi Aaron and Richard,<br>
>>><br>
>>> Thanks for the review and putting up with me while I learn clang! Here is<br>
>>> the patch with your changes.<br>
>>><br>
>>><br>
>>> >> +      // Vectorization/interleaving is disabled, set width/count to<br>
>>> >> 1.<br>
>>> >> +      ValueInt = 1;<br>
>>> >> +    // Fallthrough.<br>
>>> ><br>
>>> > We should add [[clang::fallthrough]] to Compiler.h and use it here. :-)<br>
>>><br>
>>> Turns out I didn’t need to make any changes to Compiler.h. It works fine<br>
>>> for me. Will it work for all builds?<br>
>><br>
>><br>
>> Unlikely.  MSVC's table of C++11 lists attributes as unsupported:<br>
>> <a href="http://msdn.microsoft.com/en-us/library/hh567368.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/hh567368.aspx</a><br>
>><br>
>> GCC is also likely to warn on unrecognized attributes, which wouldn't<br>
>> work.<br>
><br>
><br>
> A change to add [[clang::fallthrough]] to Compiler.h should not be part of<br>
> this patch. Please go ahead with this as-is, and we can deal with the<br>
> fallthrough macro part separately.<br>
><br>
> IIRC, Richard Trieu sent out a patch quite a while ago adding a fallthrough<br>
> macro to Compiler.h (along with patches to Clang and LLVM to use it). I<br>
> don't call what happened to that.<br>
><br>
><br>
><br>
<br>
</div></div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</div></div></blockquote></div><br></div>