diff options
author | Shankar Easwaran <shankare@codeaurora.org> | 2013-01-30 07:36:09 +0000 |
---|---|---|
committer | Shankar Easwaran <shankare@codeaurora.org> | 2013-01-30 07:36:09 +0000 |
commit | 072031a265a9f80fb9e945b623612797560c3712 (patch) | |
tree | 73793235494c3de55fce3a93bfd4906dbf9f1809 /lld | |
parent | c865abe747aa72192f02ebfdcabe730f2553e42f (diff) | |
download | bcm5719-llvm-072031a265a9f80fb9e945b623612797560c3712.tar.gz bcm5719-llvm-072031a265a9f80fb9e945b623612797560c3712.zip |
change the function names in RelocationHelper to adhere to convention
llvm-svn: 173908
Diffstat (limited to 'lld')
-rw-r--r-- | lld/include/lld/ReaderWriter/RelocationHelperFunctions.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lld/include/lld/ReaderWriter/RelocationHelperFunctions.h b/lld/include/lld/ReaderWriter/RelocationHelperFunctions.h index cfdbd148b2f..a8bc68c2948 100644 --- a/lld/include/lld/ReaderWriter/RelocationHelperFunctions.h +++ b/lld/include/lld/ReaderWriter/RelocationHelperFunctions.h @@ -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; |