[PATCH] D66141: [FileCheck] Forbid using var defined on same line

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 06:48:38 PDT 2019


probinson added a comment.

I am okay with saying you cannot reference a variable in the same CHECK directive where it is defined.
There's the workaround of splitting such a directive into a CHECK and CHECK-SAME; it is not always identical (see my FileCheck Follies talk) but will usually work.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D66141





More information about the llvm-commits mailing list