[cfe-commits] r92379 - in /cfe/trunk: lib/Sema/SemaExpr.cpp test/FixIt/typo.m

Douglas Gregor dgregor at apple.com
Fri Jan 1 09:27:15 PST 2010


On Dec 31, 2009, at 11:14 PM, Mike Stump wrote:

> On Dec 31, 2009, at 4:15 PM, Douglas Gregor wrote:
>> Author: dgregor
>> Date: Thu Dec 31 18:15:04 2009
>> New Revision: 92379
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=92379&view=rev
>> Log:
>> When typo correction for an id-expression finds a type (or Objective-C
>> class), provide a suggestion for the type or class found. However,
>> since we can't recover properly in this case, don't provide a fix-it
>> hint. Example:
> 
> For some odd reason when I have typo.m and typo.cpp in the testsuite directory, testing FixIT hangs 30% of the time or so.  If I remove both these files, it never hangs.  Anybody have a clue?

I can't reproduce this :(

However, I found that I forgot to put some "%s"'s in the typo.* tests, which probably caused these hangs. Please tell me if it persists after r92396.

	- Doug



More information about the cfe-commits mailing list