[PATCH] D60392: FileCheck [12/12]: Support use of var defined on same line

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 10 01:58:57 PST 2021


thopre added a comment.

In D60392#3184688 <https://reviews.llvm.org/D60392#3184688>, @jhenderson wrote:

> Regarding the CHECK-ASSERT suggestion, do we need it? I was under the impression one of the earlier patches added a syntax like `[[#VAR2, VAR1 + 3:]]` or something to that effect, which achieves the same thing, right? Maybe I'm missing something though.

You mean `[[#VAR2:VAR1+3]]`? Why does that prevent the need for something like CHECK-ASSERT? You still can only refer to a variable defined in an earlier line.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D60392



More information about the llvm-commits mailing list