[Lldb-commits] [PATCH] D88264: [intel-pt] Refactor the JSON parsing
walter erquinigo via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 24 15:15:52 PDT 2020
wallace created this revision.
Herald added a reviewer: JDevlieghere.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
wallace requested review of this revision.
Recently https://reviews.llvm.org/D88103 introduced a nice API for
converting a JSON object into C++ types, which include nice error
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.
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 30903 bytes
Desc: not available
More information about the lldb-commits