[PATCH] D91761: [FileCheck] Add a literal check directive

Jacques Pienaar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 18 21:22:33 PST 2020


jpienaar created this revision.
jpienaar added a reviewer: mtrofin.
Herald added subscribers: llvm-commits, thopre, hiraditya.
Herald added a project: LLVM.
jpienaar requested review of this revision.

For cases where matching could end requiring escaping strings interpreted as regex where only literal/fixed string matching is desired. This adds a LITERAL directive which can be applied to some of the other match directives (plain, NEXT, SAME, DAG) to enable literal text matches.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91761

Files:
  llvm/docs/CommandGuide/FileCheck.rst
  llvm/include/llvm/FileCheck/FileCheck.h
  llvm/lib/FileCheck/FileCheck.cpp
  llvm/test/FileCheck/check-literal.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91761.306299.patch
Type: text/x-patch
Size: 5950 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201119/49c9712f/attachment.bin>


More information about the llvm-commits mailing list