[clang-tools-extra] [clangd] Navigate go-to-definition through forwarding wrappers to the constructor (PR #199480)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 26 02:24:32 PDT 2026


https://github.com/timon-ul approved this pull request.

LGTM, honestly maybe I am starting to get around the idea of returning multiple things for a single location, I recently actually encountered this behaviour quite frequently when interacting with code that has `using` declarations and in that case those also get surfaced and you already get a selection of 2 (I hope it is understandable what I mean). But I am also a bit unsure if the behaviour of clicking on a constructor lands you on the type is really desired by any user. Again really interested in having this discussion.

https://github.com/llvm/llvm-project/pull/199480


More information about the cfe-commits mailing list