[all-commits] [llvm/llvm-project] d9542d: [UpdateTestChecks] Share the code to parse RUN: li...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Mon Dec 2 03:06:41 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d9542db49e90457de62af3bfe395aaf4c47b68a5
      https://github.com/llvm/llvm-project/commit/d9542db49e90457de62af3bfe395aaf4c47b68a5
  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_analyze_test_checks.py
    M llvm/utils/update_cc_test_checks.py
    M llvm/utils/update_llc_test_checks.py
    M llvm/utils/update_mca_test_checks.py
    M llvm/utils/update_mir_test_checks.py
    M llvm/utils/update_test_checks.py

  Log Message:
  -----------
  [UpdateTestChecks] Share the code to parse RUN: lines between all scripts

Summary:
This commit also introduces a common.debug() function to avoid many
`if args.verbose:` statements. Depends on D70428.

Reviewers: xbolva00, MaskRay, jdoerfert

Reviewed By: MaskRay

Subscribers: llvm-commits

Tags: #llvm

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


  Commit: 8ab3b4defd90a10db042ec80e61160a32e5403c0
      https://github.com/llvm/llvm-project/commit/8ab3b4defd90a10db042ec80e61160a32e5403c0
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M llvm/utils/update_cc_test_checks.py

  Log Message:
  -----------
  [update_cc_test_checks.py] Handle extern "C" and namespaces

Summary:
My change to use the clang AST JSON dump did not handle functions declared
inside scopes other than the root TranslationUnitDecl. After this change
update_cc_test_checks.py also works for C++ test cases that use extern "C"
and namespaces.

Reviewers: MaskRay

Reviewed By: MaskRay

Subscribers: llvm-commits

Tags: #llvm

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


Compare: https://github.com/llvm/llvm-project/compare/160a5045c699...8ab3b4defd90


More information about the All-commits mailing list