[PATCH] D68061: [docs] Document pattern of using CHECK-SAME to skip irrelevant lines
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 26 01:52:03 PDT 2019
jhenderson added inline comments.
================
Comment at: llvm/docs/CommandGuide/FileCheck.rst:335-336
+
+This verifies that the *next* line that contains "``Value:``" has the value
+``1``.
+
----------------
Maybe this would be better phrased as "This verifies that the next time "``Value:``" appears in the output, it has a value of 1.
It might also be worth a note saying to use `{{$}}` immediately after too, to avoid a spurious match on `Value: 16` or similar. Not sure if it really belongs here, or somewhere else though.
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