[clang-tools-extra] 6b2fed3 - [clangd] Upgrade vlog() to log() for preamble build stats
Adam Czachorowski via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 1 06:14:12 PDT 2022
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();
More information about the cfe-commits
mailing list