ArcsinX added a comment.

> One such heuristic is to check the nodes in the selection tree for the exact 
> line match

It looks like this heuristic doesn't work well in multiline cases.
E.g.

  int
  f^unc() {
    return 0;
  }

will give empty result with  this patch applied.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159497

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

Reply via email to