[PATCH] D68061: [docs] Document pattern of using CHECK-SAME to skip irrelevant lines
Thomas Preud'homme via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 5 08:13:21 PST 2020
thopre added inline comments.
================
Comment at: llvm/docs/CommandGuide/FileCheck.rst:333
+ CHECK: Value:
+ CHECK-SAME: 1{{$}}
+
----------------
probinson wrote:
> This will also match `Value: 21` so it is not equivalent to
> `CHECK: Value: 1{{$}}`
True, could this dealt by using CHECK: Value: {{ 1$}}?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68061/new/
https://reviews.llvm.org/D68061
More information about the llvm-commits
mailing list