summaryrefslogtreecommitdiffstats
path: root/clang/test/Coverage/ast-printing.c
Commit message (Collapse)AuthorAgeFilesLines
* Handle -ast-dump-all when passed as the only option.Aaron Ballman2017-06-151-0/+1
| | | | | | Patch by Don Hinton llvm-svn: 305432
* Enhancement to test for -ast-printSerge Pavlov2016-11-041-1/+3
| | | | | | | | | | | | | 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. This is recommit of r285882. llvm-svn: 285981
* Reverted r285882 (Enhancement to test for -ast-print)Serge Pavlov2016-11-031-3/+1
| | | | | | It broke buildbot on Windows. llvm-svn: 285889
* Enhancement to test for -ast-printSerge Pavlov2016-11-031-1/+3
| | | | | | | | | | | 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
* Remove the AST printer (-ast-print-xml), which is too incomplete andDouglas Gregor2011-03-071-1/+0
| | | | | | | | | | | | | | | too low-level to actually be useful but is just interesting enough for people to try to use it (which won't actually work beyond toy examples). To bring back the AST printer, it needs to be: - Complete, covering all of C/C++/Objective-C - Documented, with appropriate Schema against which we can validate the output - Designed for C/C++/Objective-C, not Clang's specific ASTs - Stable across Clang versions - Well-tested llvm-svn: 127141
* Better coverage for -dump-record-layouts and -print-decl-contexts.Eli Friedman2010-01-031-0/+1
| | | | llvm-svn: 92441
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-4/+4
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Normalize options to use '-FOO' instead of '--FOO'.Daniel Dunbar2009-11-291-4/+4
| | | | llvm-svn: 90071
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-3/+3
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* AST XML dump, from Olaf Krzikalla!Douglas Gregor2009-05-211-1/+2
| | | | llvm-svn: 72224
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-3/+3
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Add coverage tests of C and Obj-C language features.Daniel Dunbar2008-10-041-0/+5
- AST printing, dumping, serialization, codegen. - HTML printing. - Parser callbacks. Several of these are XFAIL because they trigger unimplemented code. llvm-svn: 57081
OpenPOWER on IntegriCloud