[clangd] NFC: reduce log noise from Diagnostics.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits

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

llvm-svn: 351813
This commit is contained in:
Eric Liu 2019-01-22 12:55:27 +00:00
parent 65e1099eed
commit 464bbe5812
1 changed files with 2 additions and 2 deletions

View File

@ -403,8 +403,8 @@ void StoreDiags::flushLastDiag() {
if (mentionsMainFile(*LastDiag))
Output.push_back(std::move(*LastDiag));
else
log("Dropped diagnostic outside main file: {0}: {1}", LastDiag->File,
LastDiag->Message);
vlog("Dropped diagnostic outside main file: {0}: {1}", LastDiag->File,
LastDiag->Message);
LastDiag.reset();
}