Skip to content

Commit 1c48f03

Browse files
committed
[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
1 parent 3ed09f8 commit 1c48f03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clangd/index/Background.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ llvm::Error BackgroundIndex::index(tooling::CompileCommand Cmd,
398398
DigestsSnapshot = IndexedFileDigests;
399399
}
400400

401-
log("Indexing {0} (digest:={1})", Cmd.Filename, llvm::toHex(Hash));
401+
vlog("Indexing {0} (digest:={1})", Cmd.Filename, llvm::toHex(Hash));
402402
ParseInputs Inputs;
403403
Inputs.FS = std::move(FS);
404404
Inputs.FS->setCurrentWorkingDirectory(Cmd.Directory);

0 commit comments

Comments
 (0)