<div dir="rtl"><div dir="ltr">I had rebuilt clang r191323 locally on Visual C++ 2012 / Win 7 x64 and the above code is handled correctly, same as the r191323 binary version downloaded from <a href="http://llvm.org/builds/">http://llvm.org/builds/</a> .</div>
<div dir="ltr"><br></div><div dir="ltr">So the problem started between r191323 and ToT.</div><div dir="ltr"><br></div><div dir="ltr">Yaron</div><div dir="ltr"><br></div><div dir="ltr"><br></div></div><div class="gmail_extra">
<div dir="ltr"><br><br><div class="gmail_quote">2013/10/1 Yaron Keren <span dir="ltr"><<a href="mailto:yaron.keren@gmail.com" target="_blank">yaron.keren@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex">
<div dir="rtl"><div dir="ltr">With the ToT code, clang.exe gets stuck in Sema::CorrectType endlessly (at least minutes) trying to compile the code:</div><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr"><font face="courier new, monospace">#define _LIBCPP_MSVCRT 1</font></div>
<div dir="ltr"><font face="courier new, monospace">#include <iostream></font></div><div dir="ltr"><font face="courier new, monospace"><br></font></div><div dir="ltr"><font face="courier new, monospace">int main() {</font></div>
<div dir="ltr"><font face="courier new, monospace">zzzzzzzzz</font></div><div dir="ltr"><font face="courier new, monospace"> std::cout<<"Hello\n";</font></div><div dir="ltr"><font face="courier new, monospace"> return 0;</font></div>
<div dir="ltr"><font face="courier new, monospace">}</font></div><div dir="ltr"><br></div><div>where the #includes are from libcxx ToT.</div><div><br></div><div>clang revision r191323 (the compiled code from the windows alpha release) does handle the code correctly. </div>
<div><br></div><div>Looking at recent changes for Sema::CorrectTypo , r191543 may be related, however the problem may originate elsewhere.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Yaron</div><div>
<br></div><div><br></div></font></span></div></div>
</blockquote></div></div></div>