[llvm] b7ca06b - [NFC] Fix typos
Guillaume Chatelet via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 29 06:00:49 PDT 2020
Author: Guillaume Chatelet
Date: 2020-06-29T13:00:37Z
New Revision: b7ca06b74505fb2daaee746403cc9ee3b78ac1d0
URL: https://github.com/llvm/llvm-project/commit/b7ca06b74505fb2daaee746403cc9ee3b78ac1d0
DIFF: https://github.com/llvm/llvm-project/commit/b7ca06b74505fb2daaee746403cc9ee3b78ac1d0.diff
LOG: [NFC] Fix typos
Added:
Modified:
llvm/include/llvm/ADT/Bitfields.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/ADT/Bitfields.h b/llvm/include/llvm/ADT/Bitfields.h
index e15ecea4a190..7278ec6a07d9 100644
--- a/llvm/include/llvm/ADT/Bitfields.h
+++ b/llvm/include/llvm/ADT/Bitfields.h
@@ -18,7 +18,7 @@
/// packed together but are not required to. This is problematic when storage is
/// sparse and data must be stored in a particular integer type.
///
-/// The methods provided in this file ensures precise control over the
+/// The methods provided in this file ensure precise control over the
/// layout/storage as well as protection against out of range values.
///
/// Usage example
@@ -190,7 +190,7 @@ template <typename Bitfield, typename StorageType> struct Impl {
/// - signed and unsigned integer
/// - `bool`
/// Internally though we only manipulate integer with well defined and
-/// consistent semantic, this excludes typed enums and `bool` that are replaced
+/// consistent semantics, this excludes typed enums and `bool` that are replaced
/// with their unsigned counterparts. The correct type is restored in the public
/// API.
template <typename T, bool = std::is_enum<T>::value>
More information about the llvm-commits
mailing list