summaryrefslogtreecommitdiff
path: root/test/AST/ast-dump-decl-json.m
Commit message (Collapse)AuthorAgeFilesLines
* Add more information to JSON AST dumping of source locations.Aaron Ballman2019-10-151-746/+903
| | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374921 91177308-0d34-0410-b5e6-96231b3b80d8
* Add typedef declaration information to the JSON AST dump.Aaron Ballman2019-07-301-4/+8
| | | | | | When dumping a desugared QualType and the type is a type alias, also print out the id for the type alias declaration. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@367312 91177308-0d34-0410-b5e6-96231b3b80d8
* Augment location information when dumping the AST to JSON.Aaron Ballman2019-06-241-314/+230
| | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364226 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an automated note to files produced by gen_ast_dump_json_test.py.Aaron Ballman2019-06-211-0/+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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364055 91177308-0d34-0410-b5e6-96231b3b80d8
* Dump more information about expressions involving temporaries when dumping ↵Aaron Ballman2019-06-201-1/+8
| | | | | | the AST to JSON. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363943 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for dumping Objective C AST declaration nodes to JSON.Aaron Ballman2019-05-241-0/+1704
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361652 91177308-0d34-0410-b5e6-96231b3b80d8