Rafael Espindola
3560ff2c1f
Return a std::unique_ptr when creating a new MemoryBuffer.
...
llvm-svn: 216583
2014-08-27 20:03:13 +00:00
Rafael Espindola
68669e3a7b
yaml::Stream doesn't need to take ownership of the buffer.
...
In fact, most users were already using the StringRef version.
llvm-svn: 216575
2014-08-27 19:03:22 +00:00
Rafael Espindola
b16ecf8224
Convert an ownership comment with std::uinque_ptr.
...
llvm-svn: 215855
2014-08-17 22:20:33 +00:00
Benjamin Foster
bdefab961a
Test commit, remove trailing whitespace
...
llvm-svn: 215556
2014-08-13 16:11:50 +00:00
Sean Silva
aba8270dba
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 by Kim Gräsman!
llvm-svn: 168341
2012-11-19 23:21:47 +00:00
Nick Kledzik
204720bc71
Suppress stderr noise when test case runs.
...
llvm-svn: 161085
2012-07-31 22:18:15 +00:00
Michael J. Spencer
22120c47a7
Add YAML parser to Support.
...
llvm-svn: 153977
2012-04-03 23:09:22 +00:00