diff options
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2020-02-04 08:40:56 +0000 |
---|---|---|
committer | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2020-02-04 08:41:26 +0000 |
commit | 1132f87fbf1373835d7030354f6210c5dab62c3e (patch) | |
tree | 5e442d2a6ad3088215535ca6d40cde86b5a00ff6 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | dd7d61026277006df5a200cf9ff6ceb5f6594e03 (diff) | |
download | llvm-1132f87fbf1373835d7030354f6210c5dab62c3e.zip llvm-1132f87fbf1373835d7030354f6210c5dab62c3e.tar.gz llvm-1132f87fbf1373835d7030354f6210c5dab62c3e.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions