[PATCH] D28896: [FileCheck] Add directive for checking for blank lines

Jeroen Dobbelaere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 21 03:09:35 PDT 2018


jeroen.dobbelaere added a comment.

How about using an empty 'CHECK-NEXT:' statement for this ?

  ; CHECK:foo{{$}}
  ; CHECK-NEXT:  
  ; CHECK-NEXT:bar

That would make it much easier to copy-paste a reference piece, add 'CHECK-NEXT:' in front, except for the first line, and be done with it.


https://reviews.llvm.org/D28896





More information about the llvm-commits mailing list