[all-commits] [llvm/llvm-project] 65a2de: [FileCheck] - Fix the false positive when -implici...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Thu Apr 16 05:01:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 65a2de7e6c986193a630e691686c527b08f292d5
      https://github.com/llvm/llvm-project/commit/65a2de7e6c986193a630e691686c527b08f292d5
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-04-16 (Thu, 16 Apr 2020)

  Changed paths:
    M clang/test/CodeGen/catch-implicit-conversions-basics-negatives.c
    M llvm/include/llvm/Support/FileCheck.h
    M llvm/lib/Support/FileCheck.cpp
    M llvm/test/FileCheck/implicit-check-not.txt
    M llvm/test/tools/llvm-objcopy/MachO/strip-debug.test

  Log Message:
  -----------
  [FileCheck] - Fix the false positive when -implicit-check-not is used with an unknown -check-prefix.

Imagine we have the following invocation:

`FileCheck -check-prefix=UNKNOWN-PREFIX -implicit-check-not=something`

When the check prefix does not exist it does not fail.
This patch fixes the issue.

Differential revision: https://reviews.llvm.org/D78024




More information about the All-commits mailing list