[PATCH] D64018: [clangd] Store hash of command line in index shards.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 2 03:09:37 PDT 2019


sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang-tools-extra/clangd/index/Serialization.cpp:418
+
+tooling::CompileCommand
+readCompileCommand(Reader CmdReader, llvm::ArrayRef<llvm::StringRef> Strings) {
----------------
the packed ArrayRef is a bit weird here.
Can we use a struct containing StringRefs, and drop the irrelevant members of CompileCommand?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64018/new/

https://reviews.llvm.org/D64018





More information about the cfe-commits mailing list