summaryrefslogtreecommitdiff
path: root/absl/base/internal
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2023-07-06 10:49:58 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2023-07-06 10:50:35 -0700
commit93ef827f6160dd41e11042ce638e052272f77d7b (patch)
treebb9b72110ce01e94add2d8eef901999775075552 /absl/base/internal
parentc26cd952ae342ac519fd9f98b67e6152f135c6ce (diff)
Rename `absl::NonNull` to `absl::Nonnull`.
The current spelling is inconsistent with standard casing rules: "nonnull" is a single word, not two. PiperOrigin-RevId: 546034114 Change-Id: I04e5a204f4a74ebaa76031dd0b0874ca9cfa902c
Diffstat (limited to 'absl/base/internal')
-rw-r--r--absl/base/internal/nullability_impl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/absl/base/internal/nullability_impl.h b/absl/base/internal/nullability_impl.h
index 74f4a417..36e1b33d 100644
--- a/absl/base/internal/nullability_impl.h
+++ b/absl/base/internal/nullability_impl.h
@@ -60,7 +60,7 @@ struct EnableNullable {
};
template <typename T>
-struct EnableNonNull {
+struct EnableNonnull {
static_assert(nullability_internal::IsSupportedType<std::remove_cv_t<T>>,
"Template argument must be a raw or supported smart pointer "
"type. See absl/base/nullability.h.");
@@ -86,8 +86,8 @@ using NullableImpl
#endif
= T;
-template <typename T, typename = typename EnableNonNull<T>::type>
-using NonNullImpl
+template <typename T, typename = typename EnableNonnull<T>::type>
+using NonnullImpl
#if ABSL_HAVE_CPP_ATTRIBUTE(clang::annotate)
[[clang::annotate("Nonnull")]]
#endif