summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2013-06-05 23:32:23 +0000
committerSean Silva <silvas@purdue.edu>2013-06-05 23:32:23 +0000
commit2b1068952ade3a1d2c704e7589c54e3d32dc0eb8 (patch)
tree165a0564493302a7088112c6430fd99a11f7affd /include
parent08368387a450dc2b5681000e2728ec702a8f1197 (diff)
downloadllvm-2b1068952ade3a1d2c704e7589c54e3d32dc0eb8.tar.gz
llvm-2b1068952ade3a1d2c704e7589c54e3d32dc0eb8.tar.bz2
llvm-2b1068952ade3a1d2c704e7589c54e3d32dc0eb8.tar.xz
Comment BinaryRef::Data.
Also, state an invariant. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Object/YAML.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Object/YAML.h b/include/llvm/Object/YAML.h
index 5e658f13d0..e6f1da1e1d 100644
--- a/include/llvm/Object/YAML.h
+++ b/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<uint8_t> Data;
bool isBinary;