sourcegraph / lsif-clang

Language Server Indexing Format (LSIF) generator for C, C++ and Objective C
https://lsif.dev/
34 stars 8 forks source link

escape the project root we compare paths against #42

Closed shrouxm closed 3 years ago

shrouxm commented 3 years ago

@tjdevries for visibility

clang's libraries internally escapes file paths. so when it gives us back info like "this symbol is in this file", we can't just compare against the raw repo root directory to see if it should be included without escaping it first.