[clang-tools-extra] r347566 - [clangd] Fix compilation of IndexBenchmark
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 26 07:58:30 PST 2018
Author: ibiryukov
Date: Mon Nov 26 07:58:29 2018
New Revision: 347566
URL: http://llvm.org/viewvc/llvm-project?rev=347566&view=rev
Log:
[clangd] Fix compilation of IndexBenchmark
Modified:
clang-tools-extra/trunk/clangd/benchmarks/IndexBenchmark.cpp
Modified: clang-tools-extra/trunk/clangd/benchmarks/IndexBenchmark.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/benchmarks/IndexBenchmark.cpp?rev=347566&r1=347565&r2=347566&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/benchmarks/IndexBenchmark.cpp (original)
+++ clang-tools-extra/trunk/clangd/benchmarks/IndexBenchmark.cpp Mon Nov 26 07:58:29 2018
@@ -27,11 +27,11 @@ namespace clangd {
namespace {
std::unique_ptr<SymbolIndex> buildMem() {
- return loadIndex(IndexFilename, {}, false);
+ return loadIndex(IndexFilename, /*UseDex=*/false);
}
std::unique_ptr<SymbolIndex> buildDex() {
- return loadIndex(IndexFilename, {}, true);
+ return loadIndex(IndexFilename, /*UseDex=*/true);
}
// Reads JSON array of serialized FuzzyFindRequest's from user-provided file.
More information about the cfe-commits
mailing list