[all-commits] [llvm/llvm-project] 597eae: [clangd][Background] Make index validation logs ve...

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Fri Jan 21 03:37:56 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 597eae998a874a872b67d1a22a04d7c45d2ef94b
      https://github.com/llvm/llvm-project/commit/597eae998a874a872b67d1a22a04d7c45d2ef94b
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2022-01-21 (Fri, 21 Jan 2022)

  Changed paths:
    M clang-tools-extra/clangd/index/Background.cpp

  Log Message:
  -----------
  [clangd][Background] Make index validation logs verbose

These errors are non-harmful and should be transient. They either
imply:
- compilation database returned stale results for TUs and it'll be fixed once
  it's updated to match project state.
- a TUs dependencies has changed and some headers no longer exist. this should
  be fixed with the next indexing cycle.

In either case the user will have some stale symbols in their index until clangd
restarts and the underlying issue is resolved. On the downside these logs are
confusing users when there's another issue.

Differential Revision: https://reviews.llvm.org/D117792




More information about the All-commits mailing list