With the new implemenation, we will have better coverage of various AST
nodes, and fix some known/potential bugs.
Also added the existing clang-renamae tests. Known changed behavior:
- "~Fo^o()" will not trigger the rename, will fix afterwards
- references in macro bodies would not rename now
This fixes:
I would argue rename should not work in that case.
Could we check that the cursor is actually on the name token of the NamedDecl and not rename if it isn't?