[PATCH] D22353: FileCheck Enhancement - CHECK-WORD

Elena Lepilkina via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 8 00:59:20 PDT 2016


eklepilkina added a comment.

In https://reviews.llvm.org/D22353#535691, @alexfh wrote:

> Why not add more words to check lines to make them more strict? BTW, does FileCheck support `{{\b}}`?


This patch adds

  // CHECK-WORD:
  // CHECK-WORD-NEXT:
  // CHECK-WORD-SAME:
  // CHECK-WORD-DAG:
  // CHECK-WORD-NOT:

What words do you suggest to add?

> So is it feasible to add support for \b to LLVM regexps?


The regexp library is very old. I asked several times about changing it. But I haven't got any answer. There are a lot of other unsupported features of regexs in this library and which can be useful.


https://reviews.llvm.org/D22353





More information about the llvm-commits mailing list