[all-commits] [llvm/llvm-project] 1132f8: [update_cc_test_checks] Don't attach CHECK lines t...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Tue Feb 4 00:42:02 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1132f87fbf1373835d7030354f6210c5dab62c3e
      https://github.com/llvm/llvm-project/commit/1132f87fbf1373835d7030354f6210c5dab62c3e
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2020-02-04 (Tue, 04 Feb 2020)

  Changed paths:
    A llvm/test/tools/UpdateTestChecks/update_cc_test_checks/Inputs/def-and-decl.c
    A llvm/test/tools/UpdateTestChecks/update_cc_test_checks/Inputs/def-and-decl.c.expected
    A llvm/test/tools/UpdateTestChecks/update_cc_test_checks/def-and-decl.test
    M llvm/utils/update_cc_test_checks.py

  Log Message:
  -----------
  [update_cc_test_checks] Don't attach CHECK lines to function declarations

Previously we were adding the CHECK lines to both definitions and
declarations. Update the JSON AST dump parsing code to skip all
FunctionDecls without an "inner" node (i.e. no body).

Reviewed By: MaskRay, greened
Differential Revision: https://reviews.llvm.org/D73708




More information about the All-commits mailing list