aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
diff options
context:
space:
mode:
authorMarkus Böck <markus.boeck02@gmail.com>2022-01-10 08:42:45 +0100
committerMarkus Böck <markus.boeck02@gmail.com>2022-01-11 22:58:10 +0100
commit6479f03daec1786d1e45f9148bd9298caafba9d2 (patch)
tree993746425b0e285f7c0ae96346d39bee9bed4245 /llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp
parent85e6e748d426f8992016914b07bc67c4da22e278 (diff)
downloadllvm-6479f03daec1786d1e45f9148bd9298caafba9d2.zip
llvm-6479f03daec1786d1e45f9148bd9298caafba9d2.tar.gz
llvm-6479f03daec1786d1e45f9148bd9298caafba9d2.tar.bz2
[clang][#47272] Avoid suggesting deprecated version of a declaration over another in typo correction
Prior to this patch, clang might suggest a deprecated name of a declaration over another name as the only mechanism for resolving two typo corrections referring to the same underlying declaration has previously been an alphabetical sort. This patch adjusts this resolve by also taking into account whether one of two declarations are deprecated. If the new one is deprecated it may not replace a previous correction with a non-deprecated correction and a previous deprecated correction always gets replaced by a non-deprecated new correction. Fixes https://github.com/llvm/llvm-project/issues/47272 Differential Revision: https://reviews.llvm.org/D116775
Diffstat (limited to 'llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp')
0 files changed, 0 insertions, 0 deletions