bnbarham added a comment.

> I have decided against doing that, because we can't specify @LINE in the 
> c-index-test command line.

FWIW you can do:

  // RUN: .... -pos=%(line+1):7
  let bar = Bar()
  // CHECK ... [[@LINE-1]]:7

But I don't think this is particularly common, it's just how I write tests. 
What you have is perfectly reasonable 👍


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146656

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

Reply via email to