summaryrefslogtreecommitdiffstats
path: root/libcxx/include/__config
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-04-21 22:54:21 +0000
committerEric Fiselier <eric@efcs.ca>2016-04-21 22:54:21 +0000
commit89dd1dd2782de71d56c512e44b9dfda2f7b95351 (patch)
treef3c6fcdb7f4193fffb1f7770428709c9f96f7f33 /libcxx/include/__config
parent3d42a86f9dbb167f7e6d95b741fb523827bc6ba9 (diff)
downloadbcm5719-llvm-89dd1dd2782de71d56c512e44b9dfda2f7b95351.tar.gz
bcm5719-llvm-89dd1dd2782de71d56c512e44b9dfda2f7b95351.zip
Fix most GCC attribute ignored warnings
llvm-svn: 267074
Diffstat (limited to 'libcxx/include/__config')
-rw-r--r--libcxx/include/__config6
1 files changed, 0 insertions, 6 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config
index a28a0a4a1e8..a4c6cec7191 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -319,8 +319,6 @@ typedef __char32_t char32_t;
# define _LIBCPP_NORETURN __attribute__ ((noreturn))
#endif
-#define _LIBCPP_UNUSED __attribute__((__unused__))
-
#if !(__has_feature(cxx_default_function_template_args))
#define _LIBCPP_HAS_NO_DEFAULT_FUNCTION_TEMPLATE_ARGS
#endif
@@ -459,8 +457,6 @@ namespace std {
#define _LIBCPP_NORETURN __attribute__((noreturn))
-#define _LIBCPP_UNUSED __attribute__((__unused__))
-
#if _GNUC_VER >= 407
#define _LIBCPP_UNDERLYING_TYPE(T) __underlying_type(T)
#define _LIBCPP_IS_LITERAL(T) __is_literal_type(T)
@@ -566,7 +562,6 @@ using namespace _LIBCPP_NAMESPACE __attribute__((__strong__));
#define _LIBCPP_HAS_NO_NOEXCEPT
#define __alignof__ __alignof
#define _LIBCPP_NORETURN __declspec(noreturn)
-#define _LIBCPP_UNUSED
#define _ALIGNAS(x) __declspec(align(x))
#define _LIBCPP_HAS_NO_VARIADICS
@@ -588,7 +583,6 @@ namespace std {
#define _ALIGNAS_TYPE(x) __attribute__((__aligned__(__alignof(x))))
#define _ATTRIBUTE(x) __attribute__((x))
#define _LIBCPP_NORETURN __attribute__((noreturn))
-#define _LIBCPP_UNUSED
#define _LIBCPP_HAS_NO_DEFAULT_FUNCTION_TEMPLATE_ARGS
#define _LIBCPP_HAS_NO_TEMPLATE_ALIASES
OpenPOWER on IntegriCloud