Make BinaryRef output correctly in case of empty data.
authorSean Silva <silvas@purdue.edu>
Tue, 9 Jul 2013 00:54:46 +0000 (00:54 +0000)
committerSean Silva <silvas@purdue.edu>
Tue, 9 Jul 2013 00:54:46 +0000 (00:54 +0000)
commit845e196a52d52abcd789612750f6f34af3a2cc79
tree86327dd6724ec9b068a26ecaeabd48913d8c5f30
parentb49401533082fa0e8625c7cbaa0813db6c4c9bd5
Make BinaryRef output correctly in case of empty data.

Previously, it would simply output nothing, but it should output an
empty string `""`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185894 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/YAML.cpp
unittests/CMakeLists.txt
unittests/Makefile
unittests/Object/CMakeLists.txt [new file with mode: 0644]
unittests/Object/Makefile [new file with mode: 0644]
unittests/Object/YAMLTest.cpp [new file with mode: 0644]