Patch for RFC:FileCheck Enhancements https://groups.google.com/forum/#!topic/llvm-dev/q1TDIf6urDI
There was idea to add new directives to FileCheck:
- Directive to use some patterns as named template with or without parameters.
- CHECK-INCLUDE - Directive to include other file with checks to another.
- Expressions repeat for CHECK - If statement should be checked several times repeat modifiers {n}, {n,m} , {,n}, {n,}, *, + can be used.
- Repeat in regexs - Repeat with current number should become available by using {n}, {n,m} , {,n}, {n,}
- CHECK-LABEL-DAG - Not sequential order of labels.
- Check statement for words only - CHECK-WORD, CHECK-WORD-NEXT, CHECK-WORD-SAME, CHECK-WORD-DAG, // CHECK-WORD-NOT.
- Wildcard for prefixes - If some statements should be checked regardless prefix, it should be used {{*}}, {{*}}-NEXT, //{{*}}-SAME and etc.
- 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 https://docs.google.com/document/d/1wAKNzU7-S2EeK1-aADwgP8dEiKfByKNazonybCQW3zs/edit?usp=sharing