[lld] r173908 - change the function names in RelocationHelper to adhere to convention

Shankar Easwaran shankare at codeaurora.org
Tue Jan 29 23:36:09 PST 2013


Author: shankare
Date: Wed Jan 30 01:36:09 2013
New Revision: 173908

URL: http://llvm.org/viewvc/llvm-project?rev=173908&view=rev
Log:
change the function names in RelocationHelper to adhere to convention

Modified:
    lld/trunk/include/lld/ReaderWriter/RelocationHelperFunctions.h

Modified: lld/trunk/include/lld/ReaderWriter/RelocationHelperFunctions.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/ReaderWriter/RelocationHelperFunctions.h?rev=173908&r1=173907&r2=173908&view=diff
==============================================================================
--- lld/trunk/include/lld/ReaderWriter/RelocationHelperFunctions.h (original)
+++ lld/trunk/include/lld/ReaderWriter/RelocationHelperFunctions.h Wed Jan 30 01:36:09 2013
@@ -14,7 +14,7 @@ namespace lld {
 
 /// \brief Return the bits that are described by the mask
 template < typename T > 
-T BitsGather(T val, T mask)
+T gatherBits(T val, T mask)
 {
   T result = 0;
   size_t off = 0;
@@ -30,8 +30,9 @@ T BitsGather(T val, T mask)
   return result;
 }
 
+/// \brief Set the bits as described by the mask
 template <typename T> 
-T BitsScatter(T val, T mask)
+T scatterBits(T val, T mask)
 {
   T result = 0;
   size_t off = 0;





More information about the llvm-commits mailing list