[cfe-commits] [PATCH] Emit fix-it for misspelled types whose suggested correction is a keyword.

Douglas Gregor dgregor at apple.com
Sat Nov 19 12:03:50 PST 2011


On Nov 18, 2011, at 12:14 PM, Eelis van der Weegen wrote:

> Like the subject says. :)  This trivial patch fixes half a FIXME.


In this case, half a FIXME isn't actually beneficial. Clang is only support to emit Fix-Its when it's parser and semantic analysis recover exactly as if the user had written the code that way. In this case, we don't have the recovery yet, so we don't want to enable the Fix-It.

	- Doug



More information about the cfe-commits mailing list