[clangd] Truncate SymbolID to 8 bytes.
authorHaojian Wu <hokein@google.com>
Fri, 16 Nov 2018 10:58:40 +0000 (10:58 +0000)
committerHaojian Wu <hokein@google.com>
Fri, 16 Nov 2018 10:58:40 +0000 (10:58 +0000)
commit22c9f7b296a48d5d3552d776a05f8cb1ff5d921c
tree4c394976889c77e1888ffe7f6fd9fd17de9d1ceb
parentb4a64cede820c2fd58884226388dfa8f77cccd0f
[clangd] Truncate SymbolID to 8 bytes.

Summary:
This is our goal. It has a non-zero rick, but so far we haven't see any
collision (externally and internally).

Reviewers: sammccall

Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits

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

llvm-svn: 347044
clang-tools-extra/clangd/index/Index.h
clang-tools-extra/clangd/index/Serialization.cpp
clang-tools-extra/unittests/clangd/SerializationTests.cpp