Author: Adam Czachorowski Date: 2022-08-01T15:08:21+02:00 New Revision: 6b2fed3ab4193cfb50c4e60fb4cd19c7e6b3603f
URL: https://github.com/llvm/llvm-project/commit/6b2fed3ab4193cfb50c4e60fb4cd19c7e6b3603f DIFF: https://github.com/llvm/llvm-project/commit/6b2fed3ab4193cfb50c4e60fb4cd19c7e6b3603f.diff LOG: [clangd] Upgrade vlog() to log() for preamble build stats This is very useful information for better understanding performance and preamble builds don't happen that often, so it's not that spammy. Differential Revision: https://reviews.llvm.org/D130636 Added: Modified: clang-tools-extra/clangd/Preamble.cpp Removed: ################################################################################ diff --git a/clang-tools-extra/clangd/Preamble.cpp b/clang-tools-extra/clangd/Preamble.cpp index 9fc249afcc224..337f71bed9bae 100644 --- a/clang-tools-extra/clangd/Preamble.cpp +++ b/clang-tools-extra/clangd/Preamble.cpp @@ -552,7 +552,7 @@ buildPreamble(PathRef FileName, CompilerInvocation CI, } if (BuiltPreamble) { - vlog("Built preamble of size {0} for file {1} version {2} in {3} seconds", + log("Built preamble of size {0} for file {1} version {2} in {3} seconds", BuiltPreamble->getSize(), FileName, Inputs.Version, PreambleTimer.getTime()); std::vector<Diag> Diags = PreambleDiagnostics.take(); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits