https://bugs.llvm.org/show_bug.cgi?id=42188

            Bug ID: 42188
           Summary: --background-index reindexing entire workspace every
                    time it's opened
           Product: clang-tools-extra
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: clangd
          Assignee: unassignedclangb...@nondot.org
          Reporter: juliehock...@google.com
                CC: llvm-bugs@lists.llvm.org

Enabling the --background-index command in clangd causes the entire index to be
rebuilt every time a workspace is opened. Files appear to be getting re-indexed
even if the timestamp hasn't changed. This makes clangd effectively unusable on
laptops for large projects, as the entire system can become unresponsive during
the re-indexing.

What should happen:
Only files whose timestamps have changed since the last index should be
re-indexed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to