[clangd] Add createIndex in dexp
authorHaojian Wu <hokein@google.com>
Mon, 15 Oct 2018 15:12:40 +0000 (15:12 +0000)
committerHaojian Wu <hokein@google.com>
Mon, 15 Oct 2018 15:12:40 +0000 (15:12 +0000)
commit397704ca402fccc19555b88d91d49546df3a388d
tree364328d3849d4339a25d4772784cde80adac5cc2
parent2b24ce61a06f3d387fb737d15a70dc2438260293
[clangd] Add createIndex in dexp

Summary:
This would allow easily injecting our internal customization.

Also updates the stale "symbol-collection-file" flag.

Reviewers: sammccall

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

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

llvm-svn: 344521
clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp