{"push_id":1118647334,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"56f34f0314ebea78bb4cd4f36838925ae6f726ee","before":"66afdee3fb48cff62d071bcbaff3083005b3c53b","commits":[{"sha":"56f34f0314ebea78bb4cd4f36838925ae6f726ee","author":{"email":"94c365e079be9d21e4b52efbaf75c6794d82b399@138bc75d-0d04-0410-961f-82ee72b054a4","name":"dmalcolm"},"message":"PR driver/69265: add hint for options with misspelled arguments\n\nopts-common.c's cmdline_handle_error handles invalid arguments\nfor options with CL_ERR_ENUM_ARG by building a string listing the\nvalid arguments.  By also building a vec of valid arguments, we\ncan use find_closest_string and provide a hint if we see a close\nmisspelling.\n\ngcc/ChangeLog:\n\tPR driver/69265\n\t* Makefile.in (GCC_OBJS): Move spellcheck.o to...\n\t(OBJS-libcommon-target): ...here.\n\t* opts-common.c: Include spellcheck.h.\n\t(cmdline_handle_error): Build a vec of valid options and use it\n\tto suggest provide hints for misspelled arguments.\n\ngcc/testsuite/ChangeLog:\n\tPR driver/69265\n\t* gcc.dg/spellcheck-options-11.c: New test case.\n\n\ngit-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236439 138bc75d-0d04-0410-961f-82ee72b054a4","distinct":true,"url":"https://api.github.com/repos/kraj/gcc/commits/56f34f0314ebea78bb4cd4f36838925ae6f726ee"}]}