5 Commits

Author SHA1 Message Date
Abseil Team
e4c43850ad Remove template alias nullability annotations.
These were deprecated before the last LTS release.

PiperOrigin-RevId: 762205726
Change-Id: I9d15a08967086296ecc9650a7ae0ae9c4973c405
2025-05-22 18:22:59 -07:00
Abseil Team
caf854d58c Deprecate template type alias nullability annotations.
Relocates them and their implementations to a header that can still be transitively included through absl/base/nullability.h but where they are less visible.

Prefer to use the macro nullability annotations instead (absl_nonnull, absl_nullable, and absl_nullability_unknown).

These will be removed after the next Long Term Support release.

PiperOrigin-RevId: 748689234
Change-Id: I33038678725f555b35b2f08dd0081e3cc11040db
2025-04-17 08:26:56 -07:00
Abseil Team
fd39cfa467 Add tests for macro nullability annotations analogous to existing tests for type alias annotations.
PiperOrigin-RevId: 740372581
Change-Id: I37e7702cb5207b72b413d3e58d70e773b326c57e
2025-03-25 09:16:01 -07:00
Abseil Team
93ef827f61 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
2023-07-06 10:50:35 -07:00
Abseil Team
5668c20e02 Add Nullability annotations to Abseil.
PiperOrigin-RevId: 541915097
Change-Id: I7ebfbafc36db38b59b30ab5b312cd7e22082a805
2023-06-20 07:30:11 -07:00