diff options
author | Walter Erquinigo <wallace@fb.com> | 2020-09-24 13:39:21 -0700 |
---|---|---|
committer | Walter Erquinigo <wallace@fb.com> | 2020-09-24 16:35:34 -0700 |
commit | bddebca61ea73d45d5eafc38aaf9fe7605f5a9b3 (patch) | |
tree | 95b5f48431c38f1c79f408c9a4e150d022b249f6 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | ecfc9b971269a86b101cddf1fd9f0976be4096d0 (diff) | |
download | llvm-bddebca61ea73d45d5eafc38aaf9fe7605f5a9b3.zip llvm-bddebca61ea73d45d5eafc38aaf9fe7605f5a9b3.tar.gz llvm-bddebca61ea73d45d5eafc38aaf9fe7605f5a9b3.tar.bz2 |
[intel-pt] Refactor the JSON parsing
Recently https://reviews.llvm.org/D88103 introduced a nice API for
converting a JSON object into C++ types, which include nice error
messaging.
I'm using that new functioniality to perform the parsing in a much more
elegant way. As a result, the code looks simpler and more maintainable,
as we aren't parsing anymore individual fields manually.
I updated the test cases accordingly.
Differential Revision: https://reviews.llvm.org/D88264
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions