[PATCH] D116786: [clangd] Add designator inlay hints for initializer lists.

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 21 04:16:13 PST 2022


kadircet added a comment.

I was also thinking about a cache-based solution in which we can update results as we please, and as you noted the idea definitely generalizes to other requests as well, with possibly little nuances around the definition of "as we please", which makes things a lot more annoying as we can't have this as a single layer between all requests/responses but will require some feature specific customization.
I feel like this is the way to go, but we'll need to put more thought into the design especially considering the future improvements like pseudoparser and the way it's possibly going to change how these features are going to look like in presence of it. Maybe all of these features would work on top of a fresh pseudo-parse + last "good" ast :shrug:


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116786



More information about the cfe-commits mailing list