[PATCH] D146656: [clang][ExtractAPI] Refactor ExtractAPIVisitor to make it more extensible

Ben Barham via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 24 10:53:35 PDT 2023


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



More information about the cfe-commits mailing list