aboutsummaryrefslogtreecommitdiff
path: root/absl/base/BUILD.bazel
diff options
context:
space:
mode:
authorLawrence Wolf-Sonkin <lawrencews@google.com>2024-02-29 15:42:07 -0800
committerCopybara-Service <copybara-worker@google.com>2024-02-29 15:43:05 -0800
commite7fe9ec9ebfc6607765d489b76c9954e0a88c5d4 (patch)
tree054ca6fa08a0a081a7914c1e879857ba1eaa95dd /absl/base/BUILD.bazel
parent55d28d4b3b82f9a47b3fa9b811b675a032820621 (diff)
downloadabseil-e7fe9ec9ebfc6607765d489b76c9954e0a88c5d4.tar.gz
abseil-e7fe9ec9ebfc6607765d489b76c9954e0a88c5d4.tar.bz2
abseil-e7fe9ec9ebfc6607765d489b76c9954e0a88c5d4.zip
[absl] Mark `absl::NoDestructor` methods with `absl::Nonnull` as appropriate
* It is stated in prose that the methods on `absl::NoDestructor` can never return a null pointer * Now this is annotated via nullability annotations as well PiperOrigin-RevId: 611619075 Change-Id: I078a5628430b7b221c009a5dcb849efe30409c28
Diffstat (limited to 'absl/base/BUILD.bazel')
-rw-r--r--absl/base/BUILD.bazel5
1 files changed, 4 insertions, 1 deletions
diff --git a/absl/base/BUILD.bazel b/absl/base/BUILD.bazel
index 1eb8f098..f0e3e63f 100644
--- a/absl/base/BUILD.bazel
+++ b/absl/base/BUILD.bazel
@@ -74,7 +74,10 @@ cc_library(
hdrs = ["no_destructor.h"],
copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
- deps = [":config"],
+ deps = [
+ ":config",
+ ":nullability",
+ ],
)
cc_library(