<div dir="ltr">George, I submitted this to minimize the size of the next patch, but I'll send this to pre-commit code review next time. Thanks!</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 19, 2016 at 6:49 AM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am probably OK with both. One name is based on the semantics, the other on the spelling in the file.<div><br></div><div>Given that we tend to name options according to the spelling, I probably have a small preference for the new name.</div><div><br></div><div>Cheers,</div><div>Rafael</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 17 September 2016 at 03:55, George Rimar via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><span>> // For --sort-section and linkerscript sorting rules.<br>
>-enum class SortSectionPolicy { None, IgnoreConfig, Alignment, Name, Priority };<br>
>+enum class SortSectionPolicy { Default, None, Alignment, Name, Priority };<br>
<br>
</span>Honestly I find this renaming very confusing.<br>
If we are talking about policy of sorting, then clear logic would be that None is absence of sorting,<br>
and Default is sorting by default, which is in out case also absence of sorting, but can be something different.<br>
<br>
But None here means very different and just reflects the command name of linkerscript,<br>
(which has just wrong name probably) and not the policy at all.<br>
<br>
 George.<br>
</div></div><span class=""><div class="m_7913920790106102701HOEnZb"><div class="m_7913920790106102701h5">______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</div></div></span></blockquote></div><br></div>
</blockquote></div><br></div>