diff options
-rw-r--r-- | include/llvm/Object/YAML.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/Object/YAML.h b/include/llvm/Object/YAML.h index e349e35..7f59dd1 100644 --- a/include/llvm/Object/YAML.h +++ b/include/llvm/Object/YAML.h @@ -36,14 +36,6 @@ public: : Data(reinterpret_cast<const uint8_t *>(Data.data()), Data.size()), DataIsHexString(true) {} BinaryRef() : DataIsHexString(true) {} - StringRef getHex() const { - assert(DataIsHexString); - return StringRef(reinterpret_cast<const char *>(Data.data()), Data.size()); - } - ArrayRef<uint8_t> getBinary() const { - assert(!DataIsHexString); - return Data; - } /// \brief The number of bytes that are represented by this BinaryRef. /// This is the number of bytes that writeAsBinary() will write. ArrayRef<uint8_t>::size_type binary_size() const { |