[clang-tools-extra] 4183999 - [clangd] Reduce logspam for CDB scanning
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 14 14:55:12 PST 2021
Author: Sam McCall
Date: 2021-01-14T23:55:02+01:00
New Revision: 4183999e0fe1ffbc8bdb2f06f2e5f210a0c94e35
URL: https://github.com/llvm/llvm-project/commit/4183999e0fe1ffbc8bdb2f06f2e5f210a0c94e35
DIFF: https://github.com/llvm/llvm-project/commit/4183999e0fe1ffbc8bdb2f06f2e5f210a0c94e35.diff
LOG: [clangd] Reduce logspam for CDB scanning
Added:
Modified:
clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/GlobalCompilationDatabase.cpp b/clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
index 9a74ef0d5c2f..d983f76e227f 100644
--- a/clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
+++ b/clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
@@ -350,7 +350,7 @@ bool DirectoryBasedGlobalCompilationDatabase::DirectoryCache::load(
}
// Don't log Error here, it's usually just "couldn't find <file>".
}
- vlog("No compilation database at {0}", Path);
+ dlog("No compilation database at {0}", Path);
return true;
}
More information about the cfe-commits
mailing list