sammccall added a comment.

In D71345#1783579 <https://reviews.llvm.org/D71345#1783579>, @nridge wrote:

> In D71345#1783092 <https://reviews.llvm.org/D71345#1783092>, @sammccall wrote:
>
> > (though personally I'd find it frustrating to have no way to target `b` in 
> > `a+b+c`).
>
>
> (For completeness, there is a way to target `b` in `a+b+c`: by selecting `b` 
> (such that your selection range has length 1 rather than 0). Then, neither 
> `+` node will enclose the selection range, but the `b` node will.)


Indeed, sorry - I meant that if we incorporated it into an LSP server, there'd 
be no way to target it in methods that take a position rather than a selection 
(go to defn, hover etc).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71345



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

Reply via email to