kadircet added a comment.

This looks like a nice idea, but i think we definitely need annotations to 
prevent confusion. I'd prefer something like:
assume `foo(int x, Args... args);`

  function foo
  -> void
  Parameters:
  - int x
  - int a : forwarded to [bar:a](it'd be great if we could have location links 
here)
  - int b : forwarded to [bar:b](again location links)

There's https://github.com/microsoft/language-server-protocol/issues/379 for 
asking to support links in hover, maybe we just need a way to point at a range 
inside a file


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130265

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to