OSDN Git Service

[clangd] Reduce logspam for CDB scanning
authorSam McCall <sam.mccall@gmail.com>
Thu, 14 Jan 2021 22:54:51 +0000 (23:54 +0100)
committerSam McCall <sam.mccall@gmail.com>
Thu, 14 Jan 2021 22:55:02 +0000 (23:55 +0100)
clang-tools-extra/clangd/GlobalCompilationDatabase.cpp

index 9a74ef0..d983f76 100644 (file)
@@ -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;
 }