[clang-tools-extra] r340388 - [clangd] Cleanup after D50897

Kirill Bobyrev via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 22 00:17:59 PDT 2018


Author: omtcyfz
Date: Wed Aug 22 00:17:59 2018
New Revision: 340388

URL: http://llvm.org/viewvc/llvm-project?rev=340388&view=rev
Log:
[clangd] Cleanup after D50897

The wrong diff that was uploaded to Phabricator was building the wrong
index.

Modified:
    clang-tools-extra/trunk/clangd/index/dex/DexIndex.cpp

Modified: clang-tools-extra/trunk/clangd/index/dex/DexIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/index/dex/DexIndex.cpp?rev=340388&r1=340387&r2=340388&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/index/dex/DexIndex.cpp (original)
+++ clang-tools-extra/trunk/clangd/index/dex/DexIndex.cpp Wed Aug 22 00:17:59 2018
@@ -70,7 +70,7 @@ void DexIndex::build(std::shared_ptr<std
 }
 
 std::unique_ptr<SymbolIndex> DexIndex::build(SymbolSlab Slab) {
-  auto Idx = llvm::make_unique<MemIndex>();
+  auto Idx = llvm::make_unique<DexIndex>();
   Idx->build(getSymbolsFromSlab(std::move(Slab)));
   return std::move(Idx);
 }




More information about the cfe-commits mailing list