[PATCH] D47114: [FileCheck] Implement -v and -vv for tracing matches

Joel E. Denny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 19 16:57:52 PDT 2018


jdenny created this revision.
jdenny added a reviewer: probinson.

-v prints all directive pattern matches.

-vv additionally prints info that might be noise to users but that can 
be helpful to FileCheck developers.

To maximize code reuse and to make diagnostics more consistent, this
patch also adjusts and extends some of the existing diagnostics.
CHECK-NOT failures now report variables uses.  Many more diagnostics
now report the check prefix and kind of directive.


https://reviews.llvm.org/D47114

Files:
  docs/CommandGuide/FileCheck.rst
  test/FileCheck/check-empty.txt
  test/FileCheck/check-label-dag.txt
  test/FileCheck/check-multiple-prefixes-nomatch-2.txt
  test/FileCheck/check-multiple-prefixes-nomatch.txt
  test/FileCheck/check-not-diaginfo.txt
  test/FileCheck/defines.txt
  test/FileCheck/implicit-check-not.txt
  test/FileCheck/match-full-lines.txt
  test/FileCheck/verbose.txt
  utils/FileCheck/FileCheck.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47114.147689.patch
Type: text/x-patch
Size: 22962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180519/fdddef89/attachment.bin>


More information about the llvm-commits mailing list