OSDN Git Service

[clangd] Fix filename completion at the end of file
authorKadir Cetinkaya <kadircet@google.com>
Tue, 26 Jan 2021 06:08:53 +0000 (07:08 +0100)
committerKadir Cetinkaya <kadircet@google.com>
Tue, 26 Jan 2021 08:45:21 +0000 (09:45 +0100)
commit64cdba65bbfa153754dbb7b7ee9a1ad5e2dc4e6c
treef08cb7347ea58bd8ccc4ba910d6316358a9914ab
parent9338f3a586bcebc6843ff7fe745f311d7ddf4908
[clangd] Fix filename completion at the end of file

Fixes https://github.com/clangd/clangd/issues/433

Differential Revision: https://reviews.llvm.org/D95419
clang-tools-extra/clangd/CodeComplete.cpp
clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp