[PATCH] D92495: [clang] Add a new nullability annotation for swift async: _Nullable_result

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 4 10:09:25 PST 2020


erik.pilkington added inline comments.


================
Comment at: clang/test/SemaObjC/nullable-result.m:6
+ at class NSError;
+
+ at interface SomeClass
----------------
doug.gregor wrote:
> Can you add a `__has_attribute` check for `_Nullable_result`?
Hmm, it looks like __has_attribute doesn't support keyword attributes. I'll add a `__has_feature`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92495/new/

https://reviews.llvm.org/D92495



More information about the cfe-commits mailing list