Skip to content

Commit

Permalink
[clangd] Cleanup after D50897
Browse files Browse the repository at this point in the history
The wrong diff that was uploaded to Phabricator was building the wrong
index.

llvm-svn: 340388
  • Loading branch information
kirillbobyrev committed Aug 22, 2018
1 parent 07b4536 commit 14e4700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang-tools-extra/clangd/index/dex/DexIndex.cpp
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ void DexIndex::build(std::shared_ptr<std::vector<const Symbol *>> Syms) {
}

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);
}

0 comments on commit 14e4700

Please sign in to comment.