[PATCH] Allow multiple check prefixes in FileCheck

Matt Arsenault Matthew.Arsenault at amd.com
Wed Oct 9 13:32:09 PDT 2013


  Fix off by one that could reduce the reported @LINE.

  Add tests for @LINE that hit this since none of the main LLVM tests seem to hit this problem.

http://llvm-reviews.chandlerc.com/D1374

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1374?vs=4711&id=4786#toc

Files:
  docs/CommandGuide/FileCheck.rst
  test/FileCheck/check-a-b-has-b.txt
  test/FileCheck/check-b-a-has-b.txt
  test/FileCheck/check-dag-multi-prefix-2.txt
  test/FileCheck/check-dag-multi-prefix.txt
  test/FileCheck/check-dag-substring-prefix.txt
  test/FileCheck/check-multi-prefix-label.txt
  test/FileCheck/check-multiple-prefixes-mixed.txt
  test/FileCheck/check-prefixes.txt
  test/FileCheck/check-substring-multi-prefix-2.txt
  test/FileCheck/check-substring-multi-prefix.txt
  test/FileCheck/first-character-match.txt
  test/FileCheck/line-count-2.txt
  test/FileCheck/line-count.txt
  test/FileCheck/multiple-missing-prefixes.txt
  test/FileCheck/separate-multi-prefix.txt
  test/FileCheck/validate-check-prefix.txt
  utils/FileCheck/FileCheck.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1374.7.patch
Type: text/x-patch
Size: 27520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131009/a4f306a2/attachment.bin>


More information about the llvm-commits mailing list