[llvm-commits] [llvm] r119992 - in /llvm/trunk: include/llvm/Support/MathExtras.h include/llvm/System/SwapByteOrder.h unittests/Support/SwapByteOrderTest.cpp

Chris Lattner sabre at nondot.org
Mon Nov 22 21:39:43 PST 2010


On Nov 22, 2010, at 9:28 PM, Rafael EspĂ­ndola wrote:

>> +  return sys::SwapByteOrder_16(Value);
> 
> Should this be SwapByteOrder16?

This is following the style of the functions in llvm/Support/MathExtras.h.  It is expected that clients will just use SwapByteOrder(x)

-Chris



More information about the llvm-commits mailing list