Revert "Revert "YAMLIO: Encode ambiguous hex strings explicitly""
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 9 Apr 2014 17:04:27 +0000 (17:04 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 9 Apr 2014 17:04:27 +0000 (17:04 +0000)
commitfb065a16690ec1b605e300c502ad71c1d4a4fefb
treee11f51bc0d6072a5bedc139155c3e972a3dac519
parentaef1966ed6a370d448ec478e358d175e1cd6ff0d
Revert "Revert "YAMLIO: Encode ambiguous hex strings explicitly""

Don't quote octal compatible strings if they are only two wide, they
aren't ambiguous.

This reverts commit r205857 which reverted r205857.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205914 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/YAMLTraits.cpp
test/Object/obj2yaml.test
unittests/Support/YAMLIOTest.cpp