thakis added a comment. My guess is it's because the clang tests check if the edit distance is > 1, when you really want to check > 0 instead. Maybe you can try changing that in clang, then relanding? Repository: rL LLVM https://reviews.llvm.org/D46776