Commit 511ddcc6 authored by Orvid King's avatar Orvid King Committed by Facebook Github Bot

Remove FOLLY_DEPRECATED entirely

Summary: Actually remove it. All uses of it (outside of thrift) were removed in the previous diff.

Reviewed By: ot

Differential Revision: D7422614

fbshipit-source-id: 6a59c34b3cbc0ee7c50f8cbf8c5e641352f2db1a
parent 04ac9609
...@@ -50,15 +50,6 @@ constexpr bool kHasUnalignedAccess = false; ...@@ -50,15 +50,6 @@ constexpr bool kHasUnalignedAccess = false;
__attribute__((__format__(__printf__, format_param, dots_param))) __attribute__((__format__(__printf__, format_param, dots_param)))
#endif #endif
// deprecated
#if defined(__clang__) || defined(__GNUC__)
# define FOLLY_DEPRECATED(msg) __attribute__((__deprecated__(msg)))
#elif defined(_MSC_VER)
# define FOLLY_DEPRECATED(msg) __declspec(deprecated(msg))
#else
# define FOLLY_DEPRECATED(msg)
#endif
// warn unused result // warn unused result
#if defined(__has_cpp_attribute) #if defined(__has_cpp_attribute)
#if __has_cpp_attribute(nodiscard) #if __has_cpp_attribute(nodiscard)
......
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