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

            Bug ID: 42781
           Summary: BackgroundIndex doesn't trigger on Windows due to case
                    mismatch
           Product: clang-tools-extra
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: clangd
          Assignee: unassignedclangb...@nondot.org
          Reporter: sammcc...@google.com
                CC: llvm-bugs@lists.llvm.org

VSCode is probably the most common/best editor to use with clangd on windows,
and always sends URIs with a lowercase drive letter (file://c:/...). Most tools
produce compile_commands.json with an uppercase drive letter in paths.

In this combination, the background index will entirely fail to work, as clangd
thinks the compile_commands.json doesn't correspond to the source files it
covers.

-- 
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