Author: ioeric Date: Tue Jan 22 04:55:27 2019 New Revision: 351813 URL: http://llvm.org/viewvc/llvm-project?rev=351813&view=rev Log: [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 Modified: clang-tools-extra/trunk/clangd/Diagnostics.cpp Modified: clang-tools-extra/trunk/clangd/Diagnostics.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/Diagnostics.cpp?rev=351813&r1=351812&r2=351813&view=diff ============================================================================== --- clang-tools-extra/trunk/clangd/Diagnostics.cpp (original) +++ clang-tools-extra/trunk/clangd/Diagnostics.cpp Tue Jan 22 04:55:27 2019 @@ -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(); } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits