commit | a612e34c1473a74bc0c3a7fb1ec0cd3f550fb529 | [log] [tgz] |
---|---|---|
author | Aaron Ballman <aaron@aaronballman.com> | Mon Jun 24 20:07:11 2019 +0000 |
committer | Aaron Ballman <aaron@aaronballman.com> | Mon Jun 24 20:07:11 2019 +0000 |
tree | 1888304113f9c1a829b7b40c099836c75f2ecc11 | |
parent | 9c8282a9b33084d95c579e9f76daddfcd2f74c32 [diff] |
Augment location information when dumping the AST to JSON. 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