summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestCppValueCast.py
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-05-01 14:46:17 +0000
committerNico Weber <nicolasweber@gmx.de>2019-05-01 14:46:17 +0000
commitf68e0f79c77544bb823478730c631f5417601f14 (patch)
tree571752f83484224bd93331b72286969ba2fb5b21 /lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestCppValueCast.py
parentd8f856d26549d15fd229ce372ee436b42fff628d (diff)
downloadbcm5719-llvm-f68e0f79c77544bb823478730c631f5417601f14.tar.gz
bcm5719-llvm-f68e0f79c77544bb823478730c631f5417601f14.zip
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestCppValueCast.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud