summaryrefslogtreecommitdiffstats
path: root/clang/test/AST/ast-dump-namespace-json.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add more information to JSON AST dumping of source locations.Aaron Ballman2019-10-151-0/+24
| | | | | | This adds information about the offset within the source file to the given source location as well as information about the include file a location is from. These pieces of information allow for more efficient post-processing of JSON AST dumps. llvm-svn: 374921
* Augment location information when dumping the AST to JSON.Aaron Ballman2019-06-241-48/+41
| | | | | | 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-175/+173
| | | | | | 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
* Introduce the ability to dump the AST to JSON.Aaron Ballman2019-05-131-0/+211
This adds the -ast-dump=json cc1 flag (in addition to -ast-dump=default, which is the default if no dump format is specified), as well as some initial AST dumping functionality and tests. llvm-svn: 360622
OpenPOWER on IntegriCloud