[clangd] Fixed a bug in make_tagged.
authorIlya Biryukov <ibiryukov@google.com>
Wed, 9 Aug 2017 12:55:13 +0000 (12:55 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Wed, 9 Aug 2017 12:55:13 +0000 (12:55 +0000)
commitc22824a6fcc56618d71fc58ba206aefe4f3c3525
tree83faa88fde68f8cd918749d13aeb674d51820919
parentc1cae0bd64e96e230c179566e3744201133467e5
[clangd] Fixed a bug in make_tagged.

It accidentally std::move'd from Value parameter if it deduced to an
l-value ref.

llvm-svn: 310470
clang-tools-extra/clangd/ClangdServer.h