[llvm-bugs] [Bug 42781] New: BackgroundIndex doesn't trigger on Windows due to case mismatch
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jul 26 09:36:58 PDT 2019
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: unassignedclangbugs at nondot.org
Reporter: sammccall at google.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190726/7f89f5e9/attachment.html>
More information about the llvm-bugs
mailing list