diff options
author | Kirill Bobyrev <kbobyrev@google.com> | 2020-11-11 11:13:43 +0100 |
---|---|---|
committer | Kirill Bobyrev <kbobyrev@google.com> | 2020-11-11 11:13:47 +0100 |
commit | 91ce6fb5a65f75c1b29c898f2cb76e2c5d1ac681 (patch) | |
tree | 7ac89adabf452ea15809be22a3c9b371da7243f2 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 898a81dfc5449eeee564eff670561ffa4799812e (diff) | |
download | llvm-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