From ef5e867f16c9487b9279a26dd70bc34ff871317d Mon Sep 17 00:00:00 2001 From: Artyom Skrobov Date: Sat, 14 Jun 2014 11:36:01 +0000 Subject: Renaming SwapByteOrder() to getSwappedBytes() The next commit will add swapByteOrder(), acting in-place llvm-svn: 210973 --- llvm/lib/Object/MachOObjectFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Object/MachOObjectFile.cpp') diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp index e614228..18f5cc0 100644 --- a/llvm/lib/Object/MachOObjectFile.cpp +++ b/llvm/lib/Object/MachOObjectFile.cpp @@ -45,7 +45,7 @@ struct section_base { template static void SwapValue(T &Value) { - Value = sys::SwapByteOrder(Value); + Value = sys::getSwappedBytes(Value); } template -- cgit v1.1