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(); }
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(); }
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits