yaml::Stream doesn't need to take ownership of the buffer.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 27 Aug 2014 19:03:22 +0000 (19:03 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 27 Aug 2014 19:03:22 +0000 (19:03 +0000)
commit34806d20dd83b40412b36469baae4c7a1780c9ac
tree12265b7640f9494853293335fb1dfdae05b06601
parent7132e325d51e33b89d76d248cb831f44f9598e87
yaml::Stream doesn't need to take ownership of the buffer.

In fact, most users were already using the StringRef version.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216575 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/YAMLParser.h
lib/Support/YAMLParser.cpp
unittests/Support/YAMLParserTest.cpp