aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/DataExtractor.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2019-06-24 20:07:11 +0000
committerAaron Ballman <aaron@aaronballman.com>2019-06-24 20:07:11 +0000
commita612e34c1473a74bc0c3a7fb1ec0cd3f550fb529 (patch)
tree1888304113f9c1a829b7b40c099836c75f2ecc11 /llvm/lib/Support/DataExtractor.cpp
parent9c8282a9b33084d95c579e9f76daddfcd2f74c32 (diff)
downloadllvm-a612e34c1473a74bc0c3a7fb1ec0cd3f550fb529.zip
llvm-a612e34c1473a74bc0c3a7fb1ec0cd3f550fb529.tar.gz
llvm-a612e34c1473a74bc0c3a7fb1ec0cd3f550fb529.tar.bz2
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
Diffstat (limited to 'llvm/lib/Support/DataExtractor.cpp')
0 files changed, 0 insertions, 0 deletions