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