[cfe-dev] Clang-format configuration files

Alexander Kornienko alexfh at google.com
Tue May 7 08:06:50 PDT 2013


On Tue, May 7, 2013 at 12:33 PM, Alexander Kornienko <alexfh at google.com>wrote:

> On Tue, May 7, 2013 at 1:50 AM, Sean Silva <silvas at purdue.edu> wrote:
>
>> ...
>>
>> In case you weren't aware of it, we have a great YAML library
>> http://llvm.org/docs/YamlIO.html which you should use if you go the YAML
>> route (or JSON, which is a subset of YAML).
>>
>
> I was. We use it to parse JSON compilation databases. This was one of the
> reasons to propose YAML.
>

In fact, I wasn't ;) Turns out that we use YAMLParser for JSON compilation
databases, which is a lower-level thing. Thanks for pointing me at YamlIO!
BTW, am I going to be the first user of it llvm::yaml::Output if I use it
to dump configuration files? ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130507/b278614f/attachment.html>


More information about the cfe-dev mailing list