<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 18, 2014 at 4:21 PM, Nadav Rotem <span dir="ltr"><<a href="mailto:nrotem@apple.com" target="_blank">nrotem@apple.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">LGTM. <div><br></div></div>

</blockquote><div><br></div><div>Thanks. r201699.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div style="word-wrap:break-word"><div><div><div><div class="h5"><div>On Feb 18, 2014, at 8:54 AM, Eli Bendersky <<a href="mailto:eliben@google.com" target="_blank">eliben@google.com</a>> wrote:</div><br></div></div>

<blockquote type="cite"><div><div class="h5"><div dir="ltr">Ping!<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 13, 2014 at 10:27 AM, Eli Bendersky <span dir="ltr"><<a href="mailto:eliben@google.com" target="_blank">eliben@google.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">The same code (~20 lines) for initializing a TargetOptions object from CodeGen cmdline flags is duplicated 4 (yes 4) times in 4 different tools. This patch moves it into a utility function.<div>



<br></div><div>
Since the CodeGen/CommandFlags.h file defines cl::opt flags *in a header*, it's a bit of a touchy situation because we should only link them into tools. So this patch puts the init function in the header. Ideas for something better are most welcome!</div>




<div><br></div><div>PTAL</div><span><font color="#888888">Eli</font></span></div>
</blockquote></div><br></div></div></div></div>
_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>

</blockquote></div><br></div></div>
</blockquote></div><br></div></div>