summaryrefslogtreecommitdiffstats
path: root/clang/test/AST/ast-dump-funcs-json.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Augment location information when dumping the AST to JSON.Aaron Ballman2019-06-241-250/+177
| | | | | | 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-1/+2
| | | | | | 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
* Change the way we output templates for JSON AST dumping and dump information ↵Aaron Ballman2019-06-191-4/+2
| | | | | | | | about template arguments. Previously, we attempted to write out template parameters and specializations to their own array, but due to the architecture of the ASTNodeTraverser, this meant that other nodes were not being written out. This now follows the same behavior as the regular AST dumper and puts all the (correct) information into the "inner" array. When we correct the AST node traverser itself, we can revisit splitting this information into separate arrays again. llvm-svn: 363819
* Add test cases for dumping AST function decl nodes to JSON; NFC.Aaron Ballman2019-06-181-0/+1126
llvm-svn: 363709
OpenPOWER on IntegriCloud