[llvm-commits] PATCH: Add CHECK-FIRST/LAST to FIleCheck

Chris Lattner clattner at apple.com
Wed Sep 30 13:03:40 PDT 2009


On Sep 29, 2009, at 4:50 PM, Argyris Kyrtzidis wrote:

> The attached patch adds 2 CHECK directives to the FileCheck utility:
>
> CHECK-FIRST: check that the string appears in the first line  
> (nothing comes before it)
> CHECK-LAST: check that the string appears in the last line (nothing  
> comes after it)

Looks great to me, please add a testcase somewhere that uses it.

-Chris



More information about the llvm-commits mailing list