From b7e82adb7203514d97fa12f4f7b4c620ae433d95 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Wed, 5 Jun 2013 23:32:31 +0000 Subject: Rename BinaryRef::isBinary to more descriptive DataIsHexString. And add a doxygen comment. llvm-svn: 183350 --- llvm/lib/Object/YAML.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Object') diff --git a/llvm/lib/Object/YAML.cpp b/llvm/lib/Object/YAML.cpp index b33cf3410f6..cf6e616241f 100644 --- a/llvm/lib/Object/YAML.cpp +++ b/llvm/lib/Object/YAML.cpp @@ -51,7 +51,7 @@ StringRef yaml::ScalarTraits::input( } void BinaryRef::writeAsBinary(raw_ostream &OS) const { - if (isBinary) { + if (!DataIsHexString) { OS.write((const char *)Data.data(), Data.size()); return; } -- cgit v1.2.3