summaryrefslogtreecommitdiffstats
path: root/clang/test/AST/ast-dump-expr-json.c
Commit message (Collapse)AuthorAgeFilesLines
* Augment location information when dumping the AST to JSON.Aaron Ballman2019-06-241-910/+538
| | | | | | Rather than create JSON objects for source locations and ranges, we instead stream them out directly. This allows us to elide duplicate information (without JSON field reordering causing an issue) like file names and line numbers, similar to the text dump. This also adds token length information when dumping the source location. llvm-svn: 364226
* Add an automated note to files produced by gen_ast_dump_json_test.py.Aaron Ballman2019-06-211-0/+3
| | | | | | This also details what filters, if any, were used to generate the test output. Updates all the current JSON testing files to include the automated note. llvm-svn: 364055
* For DR712: store on a DeclRefExpr whether it constitutes an odr-use.Richard Smith2019-06-111-1/+2
| | | | | | | Begin restructuring to support the forms of non-odr-use reference permitted by DR712. llvm-svn: 363086
* When dumping the AST to JSON, dump the declared name of a MemberExpr operand.Aaron Ballman2019-05-271-0/+2
| | | | llvm-svn: 361767
* Add more tests for AST JSON output; NFC.Aaron Ballman2019-05-201-0/+5427
This adds tests for dumping expressions in C. It also updates a comment to note an issue to be fixed with printing character literals discovered as part of this testing. llvm-svn: 361193
OpenPOWER on IntegriCloud