History log of /external/llvm/include/llvm/Object/YAML.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
814b52710ad53e6d613aebaca8df8e962a432f50 07-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Make operator== non-member for greater symmetry.

Thanks to David Blaikie for the suggestion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183539 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/YAML.h
272d881234dac8d51bccf90d52550ee4da888c94 06-Jun-2013 Sean Silva <silvas@purdue.edu> Add some class documentation to BinaryRef.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183362 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/YAML.h
cfb476fb20476aea15ca800ef571bfff7b5f3d29 06-Jun-2013 Sean Silva <silvas@purdue.edu> Rename operator== parameter to `RHS`.

The previous name `Ref` is overly generic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183354 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/YAML.h
0d861a24d87306543e9dc3657584bb9b26d110cc 06-Jun-2013 Sean Silva <silvas@purdue.edu> Remove error-prone methods of BinaryRef.

A user shouldn't care about the internal state, and these methods by
their very nature require asserting a predicate on the internal state.
As such, they cannot be used safely without introducing hidden
long-distance dependencies on the manner of construction of the
BinaryRef.

Use writeAsBinary(raw_ostream &) and writeAsHex(raw_ostream &) if you
need to access the data in a binary or hex format.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183353 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/YAML.h
4370ddb8b821bda66478160c1a1c5714a1877d85 06-Jun-2013 Sean Silva <silvas@purdue.edu> Add writeAsHex(raw_ostream &) method to BinaryRef.

This hides the implementation. A future commit will remove the
error-prone getHex() and getBinary() methods.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183352 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/YAML.h
6acc982e74cd8a10d097c10254d7215028e7f036 06-Jun-2013 Sean Silva <silvas@purdue.edu> Rename BinaryRef::isBinary to more descriptive DataIsHexString.

And add a doxygen comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183350 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/YAML.h
63958fba58716ed435563321944f7d4663d2ee2d 06-Jun-2013 Sean Silva <silvas@purdue.edu> Add BinaryRef binary_size() method.

This avoids making assumptions about the data representation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183349 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/YAML.h
2b1068952ade3a1d2c704e7589c54e3d32dc0eb8 06-Jun-2013 Sean Silva <silvas@purdue.edu> Comment BinaryRef::Data.

Also, state an invariant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183348 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/YAML.h
639adc59f86d0526dbace4a1ecc4924c6c52e1cd 06-Jun-2013 Sean Silva <silvas@purdue.edu> Add writeAsBinary(raw_ostream &) method to BinaryRef.

Previously, yaml2coff.cpp had a writeHexData static helper function to
do this, but it is generally useful functionality.

Also, validate hex strings up-front to avoid running having to handle
errors "deep inside" the yaml2obj code (it also gives better diagnostics
than it used to).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183345 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/YAML.h
23a22cdedda691b5ed39f75bc1a846fd890f07fb 05-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Don't print default values for NumberOfAuxSymbols and AuxiliaryData.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183293 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/YAML.h
5fd5fe0f7bfac0f7973475fcf7a5f8061d983538 05-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Move BinaryRef to a new include/llvm/Object/YAML.h file.

It will be used for ELF dumping too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183287 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Object/YAML.h