summaryrefslogtreecommitdiff
path: root/absl/base/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Lawrence Wolf-Sonkin <lawrencews@google.com>2024-02-29 15:42:07 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2024-02-29 15:43:05 -0800
commite7fe9ec9ebfc6607765d489b76c9954e0a88c5d4 (patch)
tree054ca6fa08a0a081a7914c1e879857ba1eaa95dd /absl/base/CMakeLists.txt
parent55d28d4b3b82f9a47b3fa9b811b675a032820621 (diff)
[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/CMakeLists.txt')
-rw-r--r--absl/base/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/absl/base/CMakeLists.txt b/absl/base/CMakeLists.txt
index 4cfc2285..09c622ab 100644
--- a/absl/base/CMakeLists.txt
+++ b/absl/base/CMakeLists.txt
@@ -62,6 +62,7 @@ absl_cc_library(
"no_destructor.h"
DEPS
absl::config
+ absl::nullability
COPTS
${ABSL_DEFAULT_COPTS}
)