diff options
author | Serge Pavlov <sepavloff@gmail.com> | 2016-11-03 07:32:02 +0000 |
---|---|---|
committer | Serge Pavlov <sepavloff@gmail.com> | 2016-11-03 07:32:02 +0000 |
commit | 459d409358ac4552dca613431a05862c0dc4b5ca (patch) | |
tree | b77757418274319f1e0c532f41bf7f16671632c9 /llvm/lib/Object/Error.cpp | |
parent | 277a09d9fad06ac2ef69c589e1053e00a5075718 (diff) | |
download | llvm-459d409358ac4552dca613431a05862c0dc4b5ca.zip llvm-459d409358ac4552dca613431a05862c0dc4b5ca.tar.gz llvm-459d409358ac4552dca613431a05862c0dc4b5ca.tar.bz2 |
Enhancement to test for -ast-print
Present tests for the functionality provided by command lime option
`-ast-print` check only absence of crash. This change tries to make
testing better, - the output produced by the compiler is compiled again
with option `-print-ast` and both outputs are compared. Such test at
least checks that the output is valid code. This change fixes only the
test for pure C.
llvm-svn: 285882
Diffstat (limited to 'llvm/lib/Object/Error.cpp')
0 files changed, 0 insertions, 0 deletions