[clang] [clang][nullability] allow _Nonnull etc on nullable class types (PR #82705)

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 11 06:23:07 PDT 2024


================
@@ -4096,6 +4096,11 @@ non-underscored keywords. For example:
       @property (assign, nullable) NSView *superview;
       @property (readonly, nonnull) NSArray *subviews;
     @end
+
+As well as built-in pointer types, ithe nullability attributes can be attached
+to nullable types from the C++ standard library such as ``std::unique_ptr`` and
----------------
sam-mccall wrote:

Done.

This makes it easier to get out of sync, but I agree comprehensive docs are important.

(Inside Google we often just point people at the code and are able to deploy fixes quickly, so docs for these details are less critical and skew is more of a concern. So I often have blind spots for this stuff...)

https://github.com/llvm/llvm-project/pull/82705


More information about the cfe-commits mailing list