[llvm-bugs] [Bug 42188] New: --background-index reindexing entire workspace every time it's opened

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 7 11:54:59 PDT 2019


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: unassignedclangbugs at nondot.org
          Reporter: juliehockett at google.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190607/90003b33/attachment.html>


More information about the llvm-bugs mailing list