[llvm-commits] [PATCH] YAMLParser diagnostics filename

Kim Gräsman kim.grasman at gmail.com
Sun Nov 18 00:10:31 PST 2012


Hi all,

Here's a patch to allow using MemoryBuffers with yaml::Stream directly.

The rationale is to get YAML filenames in diagnostics from
yaml::Stream::printError -- currently the filename is hard-coded as
"YAML" because there's no buffer information available.

Patch generated from r167960 of trunk.

I'd love for someone to take a look at this and commit if acceptable.

Thank you,
- Kim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: YAMLParser-diag-filename.patch
Type: application/octet-stream
Size: 3743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121118/248acd04/attachment.obj>


More information about the llvm-commits mailing list