On Mon, Feb 18, 2013 at 10:51 PM, Dmitri Gribenko <[email protected]> wrote: > On Mon, Feb 18, 2013 at 11:40 PM, Ismail Pazarbasi > <[email protected]> wrote: >> Hi, >> >> I have made this a while ago, but didn't have a chance to submit it. >> >> When an invalid destructor name is found within a class scope, a >> fix-it hint will be issued to correct the destructor name so that it >> matches the class name. > > We have a way to test fixit text directly > (-fdiagnostics-parseable-fixits). See test/FixIt/typo.c for an > example. > > Dmitri > > -- > main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if > (j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/
Thank you for the reference; I might have used that instead, but I have moved my test into test/FixIt/fixit.cpp, and I didn't touch the RUN instruction. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
