diff options
| author | Eric Fiselier <eric@efcs.ca> | 2016-10-13 04:07:58 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2016-10-13 04:07:58 +0000 |
| commit | 5e198da869bc1e020afe6adab9a6e137adee4500 (patch) | |
| tree | 31fb00167a74030cdd0c78232d01f85adfbdfff2 /libcxx/include | |
| parent | bdff2dc8d775948284471d15d15dc0d4d345c409 (diff) | |
| download | bcm5719-llvm-5e198da869bc1e020afe6adab9a6e137adee4500.tar.gz bcm5719-llvm-5e198da869bc1e020afe6adab9a6e137adee4500.zip | |
Revert r282345 - Use __attribute__((internal_linkage)) when available.
llvm-svn: 284101
Diffstat (limited to 'libcxx/include')
| -rw-r--r-- | libcxx/include/__config | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index b18bd46bafa..5b3c6947c5d 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -34,7 +34,6 @@ #endif #if defined(_LIBCPP_ABI_UNSTABLE) || _LIBCPP_ABI_VERSION >= 2 -#define _LIBCPP_ABI_EXTERN_TEMPLATE_SYMBOLS_VERSION 2 // Change short string representation so that string data starts at offset 0, // improving its alignment in some cases. #define _LIBCPP_ABI_ALTERNATE_STRING_LAYOUT @@ -50,7 +49,6 @@ #define _LIBCPP_ABI_FIX_UNORDERED_CONTAINER_SIZE_TYPE #define _LIBCPP_ABI_VARIADIC_LOCK_GUARD #elif _LIBCPP_ABI_VERSION == 1 -#define _LIBCPP_ABI_EXTERN_TEMPLATE_SYMBOLS_VERSION 1 // Feature macros for disabling pre ABI v1 features. All of these options // are deprecated. #if defined(__FreeBSD__) @@ -603,19 +601,11 @@ namespace std { #endif #ifndef _LIBCPP_INLINE_VISIBILITY -# if __has_attribute(__internal_linkage__) -# define _LIBCPP_INLINE_VISIBILITY __attribute__((__internal_linkage__, __always_inline__)) -# else -# define _LIBCPP_INLINE_VISIBILITY __attribute__ ((__visibility__("hidden"), __always_inline__)) -# endif +#define _LIBCPP_INLINE_VISIBILITY __attribute__ ((__visibility__("hidden"), __always_inline__)) #endif #ifndef _LIBCPP_ALWAYS_INLINE -# if __has_attribute(__internal_linkage__) -# define _LIBCPP_ALWAYS_INLINE __attribute__((__internal_linkage__, __always_inline__)) -# else -# define _LIBCPP_ALWAYS_INLINE __attribute__ ((__visibility__("hidden"), __always_inline__)) -# endif +#define _LIBCPP_ALWAYS_INLINE __attribute__ ((__visibility__("hidden"), __always_inline__)) #endif #ifndef _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY |

