[PATCH] D93314: [clangd] go-to-definition on auto unwraps array/pointer types
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 15 09:31:17 PST 2020
sammccall added a comment.
We don't do this kind of unwrapping in targetDecl() because it seems a bit sloppy/approximate, but in this case the full type isn't written, so you can't choose to target the `Foo` rather than the `*` in `Foo *`.
Do you think we should try to handle unique_ptr/shared_ptr too? (Today they'd go to the unique_ptr template)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93314/new/
https://reviews.llvm.org/D93314
More information about the cfe-commits
mailing list