- Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
Description
| Bugzilla Link | 42781 |
| Resolution | FIXED |
| Resolved on | Jul 26, 2019 10:42 |
| Version | unspecified |
| OS | Linux |
| Blocks | #41819 |
| CC | @zmodem |
| Fixed by commit(s) | r367112 |
Extended Description
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.