[PATCH] D60384: FileCheck [4/12]: Introduce @LINE numeric expressions
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 1 05:59:39 PDT 2019
jhenderson accepted this revision.
jhenderson added a comment.
This revision is now accepted and ready to land.
I'm happy with the detail, but Paul may have other comments, especially higher level ones (he has a better eye for them than I do).
================
Comment at: llvm/lib/Support/FileCheck.cpp:235
- // Named RegEx matches. These are of two forms: [[foo:.*]] which matches .*
- // (or some other regex) and assigns it to the FileCheck variable 'foo'. The
- // second form is [[foo]] which is a reference to foo. The variable name
- // itself must be of the form "[a-zA-Z_][0-9a-zA-Z_]*", otherwise we reject
- // it. This is to catch some common errors.
+ // Pattern and numeric expressions matches. Pattern expressions come in two
+ // forms: [[foo:.*]] and [[foo]]. The former matches .* (or some other
----------------
expressions -> expression. You don't need to pluralise both that and matches.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60384/new/
https://reviews.llvm.org/D60384
More information about the llvm-commits
mailing list