[all-commits] [llvm/llvm-project] 275ab2: [Clang][test] Avoid FileCheck error when matching ...

Bryan Chan via All-commits all-commits at lists.llvm.org
Fri Jan 20 20:37:12 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 275ab246ee811507a2b1d2e42b2d655a25c8df6c
      https://github.com/llvm/llvm-project/commit/275ab246ee811507a2b1d2e42b2d655a25c8df6c
  Author: hezuoqiang <hezuoqiang2 at huawei.com>
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
    M clang/test/Driver/modules-ts.cpp
    M clang/test/Driver/modules.cpp
    M clang/test/OpenMP/driver.c

  Log Message:
  -----------
  [Clang][test] Avoid FileCheck error when matching `-cc1`

FileCheck patterns consisting of only `-cc1` on a line by itself often
cause mismatches, e.g. with version strings formed from commit hashes
such as "clang-cc1514432c58". They should be changed to contain more
context and match more precisely.

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




More information about the All-commits mailing list