[all-commits] [llvm/llvm-project] 47934c: FileCheck [11/12]: Add matching constraint specifi...

RoboTux via All-commits all-commits at lists.llvm.org
Wed Jun 10 07:56:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 47934c7cf9f6c18e21a34f9324680652214f771e
      https://github.com/llvm/llvm-project/commit/47934c7cf9f6c18e21a34f9324680652214f771e
  Author: Thomas Preud'homme <thomasp at graphcore.ai>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M llvm/docs/CommandGuide/FileCheck.rst
    M llvm/lib/Support/FileCheck.cpp
    M llvm/lib/Support/FileCheckImpl.h
    M llvm/test/FileCheck/line-count.txt
    M llvm/test/FileCheck/numeric-expression.txt
    M llvm/unittests/Support/FileCheckTest.cpp

  Log Message:
  -----------
  FileCheck [11/12]: Add matching constraint specification

This patch is part of a patch series to add support for FileCheck
numeric expressions. This specific patch adds support for specifying the
matching constraint for a numeric expression, ie. how the value being
matched should relate to the numeric expression.

This commit only adds the equality constraint where the numeric value
matched must be equal to the numeric expression. It is the default
matching constraint used when not specified. It is added to provision
other matching constraint (e.g. inequality relations).

Copyright:
    - Linaro (changes up to diff 183612 of revision D55940)
    - GraphCore (changes in later versions of revision D55940 and
                 in new revision created off D55940)

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D60391




More information about the All-commits mailing list