Why doesn't gmail automatically reply to the list?<br><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> know it's just for debugging, but we're moving away from using<br>
iostreams for anything in Clang.<br>
</blockquote>
<br></div>
Yep, please use [f]printf, or one of the other streams.  <iostream> adds a static ctor to the file it is included in, so it is particularly evil.  Here are some more thoughts on the matter:<br>
<a href="http://llvm.org/docs/CodingStandards.html#ll_iostream" target="_blank">http://llvm.org/docs/CodingStandards.html#ll_iostream</a><br>
<br>
that said, it is probably better to just use raw_ostream with:<br>
 llvm::outs() << foo << bar;<br><font color="#888888">
</font></blockquote><div><br>Got it.<br></div></div><br>Andrew Sutton<br><a href="mailto:andrew.n.sutton@gmail.com">andrew.n.sutton@gmail.com</a><br>