Add templated read/write to support::endian.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 9 Nov 2015 21:34:45 +0000 (21:34 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 9 Nov 2015 21:34:45 +0000 (21:34 +0000)
commit9e4d3eb47dd946cee9c71f66966b0db2f99a0e52
tree51c24982d0660586f8c1e59d0a6afeb5374ed6cf
parent0e9a62e34fb4d4dca518ebfe88ff7695bc79516f
Add templated read/write to support::endian.

Expose read and write functions that take endianess as a template
parameter.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252517 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Endian.h