[PATCH] D120258: [clangd] Add inlay hints for auto-typed parameters with one instantiation.

Trass3r via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 22 02:19:47 PST 2022


Trass3r added a comment.

> I don't have a good sense for how common the "multiple instantiations, same type" scenario is; perhaps @Trass3r has an opinion on that.

Hmm you said the function needs to be defined in the cpp file, right? Then I guess lambdas are indeed the main use-case. I've seen them getting reused sometimes, though just for generic error callbacks.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120258/new/

https://reviews.llvm.org/D120258



More information about the cfe-commits mailing list