OSDN Git Service

[Support] json::Value construction from std::vector<T> and std::map<string,T>.
authorSam McCall <sam.mccall@gmail.com>
Thu, 18 Oct 2018 08:47:24 +0000 (08:47 +0000)
committerSam McCall <sam.mccall@gmail.com>
Thu, 18 Oct 2018 08:47:24 +0000 (08:47 +0000)
commit5ee0188f2b87c7600ab2fef8f630efb75aeb57d5
treed64170e746ca30c440f34d5f933c7b53688ce6ef
parent6a208e8c5fb4c3df80b0d0430b775eb528692924
[Support] json::Value construction from std::vector<T> and std::map<string,T>.

Summary: Previously this required a conversion to json::Array/json::Object first.

Reviewers: ioeric

Subscribers: kristina, llvm-commits

Differential Revision: https://reviews.llvm.org/D53385

llvm-svn: 344732
llvm/include/llvm/Support/JSON.h
llvm/unittests/Support/JSONTest.cpp