Fixed SelectionTree bug for macros
- Fixed SelectionTree claimRange for macros and template instantiations
- Fixed SelectionTree unit tests
Differential D64329
[Clangd] Fixed SelectionTree bug for macros SureYeaah on Jul 8 2019, 6:29 AM. Authored by
Details Fixed SelectionTree bug for macros
Diff Detail
Event Timeline
Comment Actions Just doc nits I think. This eliminates a semi-fast path (that uses approximate token matching to avoid running the lexer in claimRange sometimes) but I think we can live without it.
|
I'm not sure why the FIXME is on this function, it can't be fixed here.
If you're not sure where to put it, I'd suggest putting the FIXME on the unit test that shows the wrong behavior.