<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">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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> // 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 class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">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></blockquote></div><br></div>