[all-commits] [llvm/llvm-project] 3b55ee: [update_cc_test_checks.py] Use CHECK_RE from common

Alexander Richardson via All-commits all-commits at lists.llvm.org
Mon Dec 2 10:20:55 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b55eebd239ee7d518a95ca9ecccf879b17d7e8c
      https://github.com/llvm/llvm-project/commit/3b55eebd239ee7d518a95ca9ecccf879b17d7e8c
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M llvm/utils/UpdateTestChecks/common.py
    M llvm/utils/update_cc_test_checks.py

  Log Message:
  -----------
  [update_cc_test_checks.py] Use CHECK_RE from common

Summary:
This change modifies the common.CHECK_RE regex to also handle '//'
comment prefixes which allows us to share it between clang and IR tests.
Using the regex from common means that *-SAME lines are also stripped
now. Before this change using the --function-signature flag would result
in -SAME: lines from previous runs not being removed.

Reviewers: MaskRay, jdoerfert

Reviewed By: jdoerfert

Subscribers: jdoerfert, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list