vsapsai added a comment.

Have you considered the same approach as typo correction? I.e. for the max 
allowed edit distance use percentage of the input size. For example, something 
similar to `TypoCorrectionConsumer::addName` 
<https://github.com/apple/swift-clang/blob/4d16b315bc18647ca6715b7b4ea95a26a68fb5ed/lib/Sema/SemaLookup.cpp#L3992-L4008>.


Repository:
  rC Clang

https://reviews.llvm.org/D49736



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to