Re: [PATCH 1/2] Implement Levenshtein distance

2015-11-02 Thread Mikael Morin
Hello, Le 30/10/2015 13:47, David Malcolm a écrit : This patch adds an implementation of Levenshtein distance to gcc, along with unit testing of the algorithm. I noticed two nits while looking at it. diff --git a/gcc/spellcheck.c b/gcc/spellcheck.c new file mode 100644 index 000..532df5

[PATCH 1/2] Implement Levenshtein distance

2015-10-30 Thread David Malcolm
This patch adds an implementation of Levenshtein distance to gcc, along with unit testing of the algorithm. The unit testing is implemented via a plugin within gcc.dg/plugin. (I'd prefer to do this via the unit testing patches I've been proposing in a separate patch kit, but to avoid depending on