[clangd] Make background index less chatty

Summary:
It is producing too much input in non-verbose mode,
i.e. a message per indexed file

Reviewers: sammccall, kadircet

Reviewed By: sammccall

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

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

llvm-svn: 351563
This commit is contained in:
Ilya Biryukov 2019-01-18 17:04:26 +00:00
parent 3ed09f8e0c
commit 1c48f0383c
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ llvm::Error BackgroundIndex::index(tooling::CompileCommand Cmd,
DigestsSnapshot = IndexedFileDigests;
}
log("Indexing {0} (digest:={1})", Cmd.Filename, llvm::toHex(Hash));
vlog("Indexing {0} (digest:={1})", Cmd.Filename, llvm::toHex(Hash));
ParseInputs Inputs;
Inputs.FS = std::move(FS);
Inputs.FS->setCurrentWorkingDirectory(Cmd.Directory);