Commit 339c14d3 authored by Subodh Iyengar's avatar Subodh Iyengar Committed by Facebook Github Bot

Add folly non null

Summary:
Add non null annotation to
folly to help with linters
complaining when a pointer could
be null, however it never is.

Reviewed By: yfeldblum

Differential Revision: D5453255

fbshipit-source-id: cf7ccbcc86d171ef4f6d373b6f751f709e4587b1
parent 5a81b5df
...@@ -90,6 +90,8 @@ ...@@ -90,6 +90,8 @@
*/ */
#if FOLLY_HAS_EXTENSION(nullability) #if FOLLY_HAS_EXTENSION(nullability)
#define FOLLY_NULLABLE _Nullable #define FOLLY_NULLABLE _Nullable
#define FOLLY_NONNULL _Nonnull
#else #else
#define FOLLY_NULLABLE #define FOLLY_NULLABLE
#define FOLLY_NONNULL
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment