1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/unittests/Option
Nico Weber 91bcf24a84 Fix OptTable::findNearest() adding delimiter for free
Prior to this, OptTable::findNearest() thought that the input `--foo`
had an editing distance of 0 from an existing flag `--foo=`, which made
it suggest flags with delimiters more often than flags without one.
After this, it correctly assigns this case an editing distance of 1.

Differential Revision: https://reviews.llvm.org/D61373

llvm-svn: 359685
2019-05-01 14:46:17 +00:00
..
CMakeLists.txt
OptionParsingTest.cpp Fix OptTable::findNearest() adding delimiter for free 2019-05-01 14:46:17 +00:00
Opts.td Fix OptTable::findNearest() adding delimiter for free 2019-05-01 14:46:17 +00:00