[cfe-dev] Endless loop in Sema::CorrectTypo

Yaron Keren yaron.keren at gmail.com
Tue Oct 1 11:34:15 PDT 2013


With the ToT code, clang.exe gets stuck in Sema::CorrectType endlessly (at
least minutes) trying to compile the code:

#define _LIBCPP_MSVCRT 1
#include <iostream>

int main() {
zzzzzzzzz
  std::cout<<"Hello\n";
  return 0;
}

where the #includes are from libcxx ToT.

clang revision r191323 (the compiled code from the windows alpha release)
does handle the code correctly.

Looking at recent changes for Sema::CorrectTypo , r191543 may be related,
however the problem may originate elsewhere.

Yaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131001/612f74c3/attachment.html>


More information about the cfe-dev mailing list