[PATCH] D57042: [clangd] NFC: reduce log noise from Diagnostics.
Eric Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 22 04:55:49 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL351813: [clangd] NFC: reduce log noise from Diagnostics. (authored by ioeric, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57042/new/
https://reviews.llvm.org/D57042
Files:
clang-tools-extra/trunk/clangd/Diagnostics.cpp
Index: clang-tools-extra/trunk/clangd/Diagnostics.cpp
===================================================================
--- clang-tools-extra/trunk/clangd/Diagnostics.cpp
+++ clang-tools-extra/trunk/clangd/Diagnostics.cpp
@@ -403,8 +403,8 @@
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();
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57042.182891.patch
Type: text/x-patch
Size: 569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190122/581f99ea/attachment-0001.bin>
More information about the cfe-commits
mailing list