aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKirill Bobyrev <kbobyrev@google.com>2020-11-11 11:13:43 +0100
committerKirill Bobyrev <kbobyrev@google.com>2020-11-11 11:13:47 +0100
commit91ce6fb5a65f75c1b29c898f2cb76e2c5d1ac681 (patch)
tree7ac89adabf452ea15809be22a3c9b371da7243f2 /clang/lib/Frontend/CompilerInvocation.cpp
parent898a81dfc5449eeee564eff670561ffa4799812e (diff)
downloadllvm-91ce6fb5a65f75c1b29c898f2cb76e2c5d1ac681.zip
llvm-91ce6fb5a65f75c1b29c898f2cb76e2c5d1ac681.tar.gz
llvm-91ce6fb5a65f75c1b29c898f2cb76e2c5d1ac681.tar.bz2
[clangd] Abort rename when given the same name
When user wants to rename the symbol to the same name we shouldn't do any work. Bail out early and return error to save compute. Resolves: https://github.com/clangd/clangd/issues/580 Reviewed By: hokein Differential Revision: https://reviews.llvm.org/D91134
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions