Comment BinaryRef::Data.

Also, state an invariant.

llvm-svn: 183348
This commit is contained in:
Sean Silva 2013-06-05 23:32:23 +00:00
parent 911d60a1e4
commit b4e21201d7
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ namespace yaml {
/// In an object file this is just a binary blob. In an yaml file it is an hex
/// string. Using this avoid having to allocate temporary strings.
class BinaryRef {
/// \brief Either raw binary data, or a string of hex bytes (must always
/// be an even number of characters).
ArrayRef<uint8_t> Data;
bool isBinary;