This behavior was once deliberate, but i've yet to find someone who likes it.
The reference behavior is unchanged: the foo within ~foo is still considered
a reference to the type. This means rename etc still works.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Ugh, sorry for the sloppiness, think I was tired.
clang-tools-extra/clangd/unittests/SelectionTests.cpp | ||
---|---|---|
469 | I'm pretty sure the reason for the FIXME was to consistently handle type names within constructors/destructors as referencing the type - with this patch we're (hopefully) consistent in the other direction instead. (I think I probably wrote this comment, I wish I'd included more context) |
Doesn't N.get<MemberExpr> already return a MemberExpr*?