ilovepi wrote:
> I don't think this possible since the line directive matches the line of the > html or md file you pipe into FileCheck, which is different from the line > that's define in the source code. I've opted for just matching any number to > make the test case less brittle I’m not sure I follow. The LINE directive should work fine regardless of what output you’re checking. It should match the current line that the check is on, so if you do something like LINE-1 with the check right after the thing you’re trying to match, it should work fine. If you look at tests in Clang, LLVM , or compiler-rt you should find plenty of examples demonstrating the typical usage. https://github.com/llvm/llvm-project/pull/97681 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits