Also implement resolution of paths relative to mainfile without HeaderSearchInfo.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| clang-tools-extra/clangd/unittests/HeadersTests.cpp | ||
|---|---|---|
| 100 ↗ | (On Diff #208284) | I'm a bit confused about this - why do we need to log it in a unit test? |
| clang-tools-extra/clangd/Headers.cpp | ||
|---|---|---|
| 206 ↗ | (On Diff #208284) | Because replace_path_prefix("/foo/bar.c", "/foo", "") yields "/bar.c" rather than "bar.c". Added a comment. |