> On Tue, November 29, 2011 06:23, David Blaikie wrote: >> It'd also be rather easy to implement a fixit for this recovery too, >> just on the diagnostic a few lines above: >> >> Diag(Tok, diag::err_function_declared_typedef) << >> FixItHint::CreateRemoval(DS.getStorageClassSpecLoc()); > > Yes, if we are suitably confident that removing the 'typedef' keyword is the > right fix. I think that is probably fine -- I've personally only ever seen > this > happen once, and there the 'typedef' keyword was supposed to be 'typename' > (which we will have already provided a separate fixit to add).
I've added a fixit for this case in r145395. Thanks, Richard _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
