<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 28, 2014 at 10:05 AM, Shankar Kalpathi Easwaran <span dir="ltr"><<a href="mailto:shankarke@gmail.com" target="_blank">shankarke@gmail.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"><br>
  but if you see cl::ParseCommandLineOptions in CommandLine.cpp, it directly supports expansion over there.<br>
<br>
  Or I misunderstood something.<br></blockquote><div><br></div><div>OptTable does not seem to get involved in cl::ParseCommandLineOptions. Which one are you talking about?</div><div><br></div><div>If you want to take a look at a real example, you may want to look at clang/tools/driver/driver.cpp, in which command line arguments are expanded at the most early stage using <span style="font-family:arial,sans-serif;font-size:13px">ExpandResponseFiles().</span></div>

<div><br></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 class=""><div class="h5"><br>
<a href="http://llvm-reviews.chandlerc.com/D3210" target="_blank">http://llvm-reviews.chandlerc.com/D3210</a><br>
<br>
BRANCH<br>
  responsefile<br>
<br>
ARCANIST PROJECT<br>
  lld<br>
</div></div></blockquote></div><br></div></div>