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

Joel E. Denny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 15 10:26:23 PDT 2019


jdenny added inline comments.


================
Comment at: llvm/test/FileCheck/numeric-expression.txt:180
 DEF-EXPR-FAIL-NEXT: [[# VAR20:]]
 DEF-EXPR-FAIL-NEXT: [[# VAR42: VAR20+22]]
 DEF-EXPR-FAIL-MSG: numeric-expression.txt:[[#@LINE-1]]:21: error: {{D}}EF-EXPR-FAIL-NEXT: is not on the line after the previous match
----------------
After the earlier removal in this file, is this the only remaining check that you can use a numeric variable within another's pattern?  There should probably be a positive check too.  Sorry if I overlooked one.


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