[llvm] 2ed952a - [ADT] Fix a comment typo
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 28 15:24:42 PST 2023
Author: Kazu Hirata
Date: 2023-01-28T15:24:36-08:00
New Revision: 2ed952a3e0307e6a87137fe4bc7ab0243f69bec4
URL: https://github.com/llvm/llvm-project/commit/2ed952a3e0307e6a87137fe4bc7ab0243f69bec4
DIFF: https://github.com/llvm/llvm-project/commit/2ed952a3e0307e6a87137fe4bc7ab0243f69bec4.diff
LOG: [ADT] Fix a comment typo
Added:
Modified:
llvm/include/llvm/ADT/bit.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/ADT/bit.h b/llvm/include/llvm/ADT/bit.h
index d93023d88b4e..1b597e58408d 100644
--- a/llvm/include/llvm/ADT/bit.h
+++ b/llvm/include/llvm/ADT/bit.h
@@ -297,7 +297,7 @@ template <typename T> [[nodiscard]] T bit_floor(T Value) {
}
/// Returns the smallest integral power of two no smaller than Value if Value is
-/// nonzero. Returns 0 otherwise.
+/// nonzero. Returns 1 otherwise.
///
/// Ex. bit_ceil(5) == 8.
///
More information about the llvm-commits
mailing list