[clang] [clang-tools-extra] clangd: Extend reference search with constructor calls through forwarding (PR #169742)

via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 16 02:02:51 PST 2025


timon-ul wrote:

Okay, so I think this is a solution I like, I also spent the time refactoring so now we can (hopefully) focus on the small improvements like formatting.

One last question I have is when to use `SmallVector`. The [llvm coding standard](https://llvm.org/docs/CodingStandards.html#c-standard-library) does not really elaborate. I have seen `std::vector` quite a few times so that does not help either. If I take the name as is, I would assume it is for small lists, so maybe the lists of constructors I create might be good candidates, but the `TopLevelDeclarations` might get rather large(?) so maybe not there.

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


More information about the cfe-commits mailing list