From b4e21201d7fcbadcf5ec77d45f040e51dc14c775 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Wed, 5 Jun 2013 23:32:23 +0000 Subject: [PATCH] Comment BinaryRef::Data. Also, state an invariant. llvm-svn: 183348 --- llvm/include/llvm/Object/YAML.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/include/llvm/Object/YAML.h b/llvm/include/llvm/Object/YAML.h index 5e658f13d02d..e6f1da1e1d42 100644 --- a/llvm/include/llvm/Object/YAML.h +++ b/llvm/include/llvm/Object/YAML.h @@ -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 Data; bool isBinary;