forked from OSchip/llvm-project
[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:
parent
65e1099eed
commit
464bbe5812
|
@ -403,8 +403,8 @@ void StoreDiags::flushLastDiag() {
|
||||||
if (mentionsMainFile(*LastDiag))
|
if (mentionsMainFile(*LastDiag))
|
||||||
Output.push_back(std::move(*LastDiag));
|
Output.push_back(std::move(*LastDiag));
|
||||||
else
|
else
|
||||||
log("Dropped diagnostic outside main file: {0}: {1}", LastDiag->File,
|
vlog("Dropped diagnostic outside main file: {0}: {1}", LastDiag->File,
|
||||||
LastDiag->Message);
|
LastDiag->Message);
|
||||||
LastDiag.reset();
|
LastDiag.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue