summaryrefslogtreecommitdiffstats
path: root/lld
diff options
context:
space:
mode:
authorShankar Easwaran <shankare@codeaurora.org>2013-01-30 07:36:09 +0000
committerShankar Easwaran <shankare@codeaurora.org>2013-01-30 07:36:09 +0000
commit072031a265a9f80fb9e945b623612797560c3712 (patch)
tree73793235494c3de55fce3a93bfd4906dbf9f1809 /lld
parentc865abe747aa72192f02ebfdcabe730f2553e42f (diff)
downloadbcm5719-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.h5
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;
OpenPOWER on IntegriCloud