Though this is not needed when using clangd's own index, other indexes
(e.g. kythe) need it, as classes and their constructors are different
symbols, otherwise we will miss renaming constructors.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
10 ms | LLVM.Bindings/Go::Unknown Unit Message ("") |
Event Timeline
Comment Actions
address comments.
clang-tools-extra/clangd/refactor/Rename.cpp | ||
---|---|---|
326 | destructors are fine, there is a type loc of Foo class in ~[[Foo]], so query the class id can find the reference. |
What about desctructors? Should they always be handled separately?