[PATCH] D77605: [FileCheck] Fix --dump-input implicit pattern location

Joel E. Denny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 6 16:22:15 PDT 2020


jdenny created this revision.
jdenny added reviewers: probinson, thopre.
Herald added subscribers: hiraditya, arichardson.
Herald added a project: LLVM.

Currently, `--dump-input` implies that all `--implicit-check-not`
patterns appear on line 1 by printing annotations like:

         1: foo bar baz 
  not:1         !~~     error: no match expected

This patch changes that to:

            1: foo bar baz 
  not:imp1         !~~     error: no match expected

`imp1` indicates the first `--implicit-check-not` pattern.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77605

Files:
  llvm/include/llvm/Support/FileCheck.h
  llvm/lib/Support/FileCheck.cpp
  llvm/test/FileCheck/dump-input-annotations.txt
  llvm/utils/FileCheck/FileCheck.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77605.255530.patch
Type: text/x-patch
Size: 8167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200406/0e48c7b1/attachment.bin>


More information about the llvm-commits mailing list