[clang][utils] Modify make-ast-dump-check.sh to generate AST serialization dump tests
authorBruno Ricci <riccibrun@gmail.com>
Thu, 18 Jun 2020 12:02:11 +0000 (13:02 +0100)
committerBruno Ricci <riccibrun@gmail.com>
Thu, 18 Jun 2020 12:37:29 +0000 (13:37 +0100)
commitc7350a3bab14eb633f39a949f85ac0e690cd9b4d
tree0cbe35bedee7a8d1b6a1b5180dda7fe132ceab81
parent05843dc6ab97a00cbde7aa4f08bf3692eb83109d
[clang][utils] Modify make-ast-dump-check.sh to generate AST serialization dump tests

An AST serialization dump test is a test which compares the output of -ast-dump
on the source and of -ast-dump-all on a PCH generated from the source. Modulo
a few differences the outputs should match.

This patch to make-ast-dump-check.sh enables automatically generating
these tests.

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

Reviewed By: aaron.ballman, lebedev.ri
clang/utils/make-ast-dump-check.sh