[llvm-dev] RFC: FileCheck Enhancements
Jonathan Roelofs via llvm-dev
llvm-dev at lists.llvm.org
Fri May 27 06:42:44 PDT 2016
On 5/27/16 7:41 AM, Jonathan Roelofs via llvm-dev wrote:
>
>
> On 5/26/16 5:25 PM, Robinson, Paul via llvm-dev wrote:
>>
>>> 7. Wildcard for prefixes - If some statements should be checked
>>> regardless prefix, it should be used //{{*}}, //{{*}}-NEXT,
>>> //{{*}}-SAME and etc.
>>> 8. Prefix with regular expressions - If statement should be
>>> checked if prefix matches some regular expression, it should be used
>>> {{regex}}:, {{regex}}-NEXT and etc.
>>>
>>> More information in file
>>> https://docs.google.com/document/d/1wAKNzU7-S2EeK1-aADwgP8dEiKfByKNazonybCQW3zs/edit?usp=sharing.
>>>
>>
>> I noticed the google doc stated that multi-line patterns are not
>> supported. That's not actually the case, although it's a bit obscure:
>> the [[:space:]] character-class will match EOL and allow you to write
>> a multi-line CHECK.
>
> Also: CHECK-SAME.
Whoops... I misread... Ignore me.
Jon
>
>
> Jon
>
--
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded
More information about the llvm-dev
mailing list