[clangd] Add "str()" method to SymbolID.
authorHaojian Wu <hokein@google.com>
Wed, 25 Apr 2018 15:27:09 +0000 (15:27 +0000)
committerHaojian Wu <hokein@google.com>
Wed, 25 Apr 2018 15:27:09 +0000 (15:27 +0000)
commitcbf20ef6abd50cd31744e97d450ebf00976d110b
treeab2e1c4749cb340831e0914cc092dd2b498b08fd
parent58e03a09dbd9075dd7bad85082207fb19e94ba3f
[clangd] Add "str()" method to SymbolID.

Summary:
This is a convenient function when we try to get std::string of
SymbolID.

Reviewers: ioeric

Subscribers: klimek, ilya-biryukov, MaskRay, jkorous, cfe-commits

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

llvm-svn: 330835
clang-tools-extra/clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp
clang-tools-extra/clangd/index/Index.cpp
clang-tools-extra/clangd/index/Index.h