Implement the interface in
- FileIndex
- MemIndex
- MergeIndex
Depends on https://reviews.llvm.org/D50385.
Differential D51279
[clangd] Implement findOccurrences interface in dynamic index. hokein on Aug 26 2018, 10:31 PM. Authored by
Details Implement the interface in
Depends on https://reviews.llvm.org/D50385.
Diff Detail
Event TimelineComment Actions Some numbers of memory usage from running this on my machine:
The memory usage of occurrences is relatively small, I think it is fine to enable it by default. Comment Actions The memory usage looks good. Some NITs and a major consideration wrt to the implementation of merging occurences from dynamic and static index.
Comment Actions Just noticed I'm not on the reviewers list, sorry for chiming in without invitation. Was really excited about the change :-) Comment Actions Comments are always welcome :)
Comment Actions fixed :-)
Comment Actions Thanks for the comments.
Comment Actions This basically looks good to go (some fixes needed but they're pretty clear I think let me know if not!)
Comment Actions Minor cleanup.
Comment Actions address review comments:
|
Maybe avoid default arguments? Having clients pass nullptr explicitly seems like the right thing to do