aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/MathExtras.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-05-31 16:18:03 +0000
committerDan Gohman <gohman@apple.com>2009-05-31 16:18:03 +0000
commit55b42513e1548554bfacc72d48ec3483c73fddf9 (patch)
treee72c933f19757465ca3b2c61ea1faef79eb0a55d /include/llvm/Support/MathExtras.h
parent88554df4a2b801a11964a2668acfac2d68ab14bc (diff)
Fix the name of the function in this comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72666 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/MathExtras.h')
-rw-r--r--include/llvm/Support/MathExtras.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/MathExtras.h b/include/llvm/Support/MathExtras.h
index fd3ac9157b..85e19acd9e 100644
--- a/include/llvm/Support/MathExtras.h
+++ b/include/llvm/Support/MathExtras.h
@@ -321,8 +321,8 @@ inline unsigned Log2_32_Ceil(uint32_t Value) {
return 32-CountLeadingZeros_32(Value-1);
}
-/// Log2_64 - This function returns the ceil log base 2 of the specified value,
-/// 64 if the value is zero. (64 bit edition.)
+/// Log2_64_Ceil - This function returns the ceil log base 2 of the specified
+/// value, 64 if the value is zero. (64 bit edition.)
inline unsigned Log2_64_Ceil(uint64_t Value) {
return 64-CountLeadingZeros_64(Value-1);
}