diff options
author | Eric Fiselier <eric@efcs.ca> | 2014-12-19 22:29:12 +0000 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-01-08 14:44:29 -0800 |
commit | d813311a35b10e8bf8917e503267de6246446991 (patch) | |
tree | 1546fd470713070fd2593e521ae029ab481534ed /.arcconfig | |
parent | 00b724930ddd36b279b20252ba7bae51d0a67785 (diff) | |
download | external_llvm-d813311a35b10e8bf8917e503267de6246446991.zip external_llvm-d813311a35b10e8bf8917e503267de6246446991.tar.gz external_llvm-d813311a35b10e8bf8917e503267de6246446991.tar.bz2 |
[LIT] Add JSONMetricValue type to wrap types supported by the json encoder.
Summary:
The following types can be encoded and decoded by the json library:
`dict`, `list`, `tuple`, `str`, `unicode`, `int`, `long`, `float`, `bool`, `NoneType`.
`JSONMetricValue` can be constructed with any of these types, and used as part of Test.Result.
This patch also adds a toMetricValue function that converts a value into a MetricValue.
Reviewers: ddunbar, EricWF
Reviewed By: EricWF
Subscribers: cfe-commits, llvm-commits
Differential Revision: http://reviews.llvm.org/D6576
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224628 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 74430387cd6b1d0e3f89b604f747fa53fc3315b3)
Diffstat (limited to '.arcconfig')
0 files changed, 0 insertions, 0 deletions