[clangd] Fix parseNamespaceEvents to parse the last token
authorKadir Cetinkaya <kadircet@google.com>
Wed, 25 Sep 2019 14:12:05 +0000 (14:12 +0000)
committerKadir Cetinkaya <kadircet@google.com>
Wed, 25 Sep 2019 14:12:05 +0000 (14:12 +0000)
commit194117f04ba09f5770be9770a0c2b2324265cd4b
treedff223ed600fb4629de6e4ebebdeb5509cd1abec
parent269bd15c68cae8492b954eb146bf729c12c003ee
[clangd] Fix parseNamespaceEvents to parse the last token

Reviewers: hokein, ilya-biryukov

Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D68020

llvm-svn: 372875
clang-tools-extra/clangd/SourceCode.cpp
clang-tools-extra/clangd/unittests/SourceCodeTests.cpp