[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 Sep 26 01:15:38 PDT 2019
thopre added inline comments.
================
Comment at: llvm/docs/CommandGuide/FileCheck.rst:290
+
+Another common use case for "``CHECK-SAME:``" is to avoid writing matchers for
+irrelevant fields. For example, suppose you're writing a test which parses a
----------------
Nit: rather than say that it is common, it might be better to say that CHECK-SAME is useful in dealing with X. Whether it is common or not does not seem very relevant.
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