[all-commits] [llvm/llvm-project] 44f399: [FileCheck] Add a literal check directive modifier

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Fri Dec 18 17:31:58 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 44f399ccc12e27d20bae1ea7e712ef7f71e2ff3a
      https://github.com/llvm/llvm-project/commit/44f399ccc12e27d20bae1ea7e712ef7f71e2ff3a
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M llvm/docs/CommandGuide/FileCheck.rst
    M llvm/include/llvm/FileCheck/FileCheck.h
    M llvm/lib/FileCheck/FileCheck.cpp
    A llvm/test/FileCheck/check-literal.txt

  Log Message:
  -----------
  [FileCheck] Add a literal check directive modifier

Introduce CHECK modifiers that change the behavior of the CHECK
directive. Also add a LITERAL modifier for cases where matching could
end requiring escaping strings interpreted as regex where only
literal/fixed string matching is desired (making the CHECK's more
difficult to write/fragile and difficult to interpret).




More information about the All-commits mailing list