[cfe-commits] PATCH: teach clang -fixit to fix what it can

Reid Kleckner reid.kleckner at gmail.com
Sat Aug 14 10:14:55 PDT 2010


On Fri, Aug 13, 2010 at 8:39 AM, Douglas Gregor <dgregor at apple.com> wrote:
> In general, this is pretty dangerous, since a wrong Fix-It (e.g., typo-correcting to the wrong thing) can mean that you're mangling the user's source code. But, I guess that's what you want... so the patch is fine.

Our use-case is essentially fixing dependent base class lookups at
Google, but if there is even one clang error (or warning, because of
-Werror) in the file, of which there are many, we can't fix anything.

Reid



More information about the cfe-commits mailing list