User Details
- User Since
- Feb 12 2016, 3:46 AM (381 w, 6 d)
- Roles
- Administrator
Jun 14 2019
Apr 17 2019
lgtm
Apr 16 2019
Apr 15 2019
- use sync runAddDocument in test
- address comments
- Only return compile command (instead of FileInputs) from AST worker.
Apr 12 2019
- address comments
- Add missing comment to TUScheduler.h
- address review comments
- Add test comment.
in case you missed this patch :)
Apr 11 2019
lgtm
- address comments
- address review comments
Apr 10 2019
Feel free to land this. I'll rebase D60126 on this when it's in.
lgtm
Apr 9 2019
Thanks for the review!
- minor cleanup
- address review comments
Apr 8 2019
lg!
- address review comments
- Fix unit test
Oops, forgot to update tests...
- split out the compile command change.
Apr 4 2019
Apr 3 2019
- Improved test.
Apr 2 2019
- Rebase
Mar 28 2019
- address review comments.
Mar 26 2019
Mar 25 2019
Mar 22 2019
lgtm
Neat!
Mar 21 2019
should we update YAML?
Mar 20 2019
Mar 19 2019
I don't follow why this can over-count, FileIndex keeps only one RefSlab per each file, so we can't over-count? Did you mean it will be more than #TUs ?
Yes. This is how Symbol::References is described in its documentation. If we want to change/expand the semantic, we need to make it clear in the documentation as well.
Mar 18 2019
I'm not sure if FileIndex is the correct layer to make decision about how References is calculated. Currently, we have two use cases in clangd 1) one slab per TU and 2) one slab per file. It seems to me that we would want different strategies for the two use cases, so it might make sense to make this configurable in FileIndex. And in one case, we have References ~= # of TUs, and in the other case, we would have References ~= # of files. This can over-count References in the second case. It might be fine as an approximation (if there is no better solution), but we should definitely document it (e.g. in BackgroundIndex).
Mar 15 2019
(The result looks great)