[PATCH] D80913: [update_cc_test_checks.py] Correctly skip function definitions

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 03:09:49 PDT 2020


arichardson created this revision.
arichardson added a reviewer: MaskRay.
Herald added subscribers: llvm-commits, cfe-commits, kristof.beyls.
Herald added projects: clang, LLVM.

Function declarations can in fact have an 'inner' node that lists the
ParmVarDecls. It seems like either the JSON output has changed or that I
tested the original JSON parsing change with test files that only have
function definitions without arguments.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80913

Files:
  clang/test/utils/update_cc_test_checks/Inputs/def-and-decl.c
  clang/test/utils/update_cc_test_checks/Inputs/def-and-decl.c.expected
  llvm/utils/update_cc_test_checks.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80913.267567.patch
Type: text/x-patch
Size: 3373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200601/c823f708/attachment.bin>


More information about the llvm-commits mailing list