Avoid crash when dumping NULL Type as JSON.
authorAaron Ballman <aaron@aaronballman.com>
Thu, 29 Aug 2019 20:00:40 +0000 (20:00 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 29 Aug 2019 20:00:40 +0000 (20:00 +0000)
commit1755617214e8a0412b0aa985af2677a56c83d843
treee5d74cdcfc08fc12439897d3b632197555197785
parent0785f8d0bb70b1485573556d1315784ebd085af3
Avoid crash when dumping NULL Type as JSON.

Patch by Bert Belder.

llvm-svn: 370401
clang/lib/AST/JSONNodeDumper.cpp
clang/test/AST/ast-dump-types-json.cpp
clang/test/AST/gen_ast_dump_json_test.py