URIDistance constructor should mention that Sources must contain *absolute paths*, not URIs. This is not very clear when looking at the interface, especially given that distance(...) accepts URI, not an absolute path which can give the wrong impression.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
Event Timeline
clang-tools-extra/clangd/FileDistance.h | ||
---|---|---|
66 ↗ | (On Diff #164066) | memoizes is correct here |
89 ↗ | (On Diff #164066) | The constructor doesn't do any computation, thus there's nothing to memoize. I'd suggest dropping the second sentence here, that's the only noteworthy thing specific to this constructor. |
clang-tools-extra/clangd/FileDistance.h | ||
---|---|---|
89 ↗ | (On Diff #164066) | Sorry, did you mean dropping the *first sentence* here? The second one seems to be the one you describe. |