[llvm] r183348 - Comment BinaryRef::Data.

Sean Silva silvas at purdue.edu
Wed Jun 5 16:32:23 PDT 2013


Author: silvas
Date: Wed Jun  5 18:32:23 2013
New Revision: 183348

URL: http://llvm.org/viewvc/llvm-project?rev=183348&view=rev
Log:
Comment BinaryRef::Data.

Also, state an invariant.

Modified:
    llvm/trunk/include/llvm/Object/YAML.h

Modified: llvm/trunk/include/llvm/Object/YAML.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/YAML.h?rev=183348&r1=183347&r2=183348&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/YAML.h (original)
+++ llvm/trunk/include/llvm/Object/YAML.h Wed Jun  5 18:32:23 2013
@@ -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;
 





More information about the llvm-commits mailing list