summaryrefslogtreecommitdiffstats
path: root/libcxx/src/regex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src/regex.cpp')
-rw-r--r--libcxx/src/regex.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/libcxx/src/regex.cpp b/libcxx/src/regex.cpp
index 17dd6eaa60a..a7363599d5a 100644
--- a/libcxx/src/regex.cpp
+++ b/libcxx/src/regex.cpp
@@ -69,21 +69,12 @@ regex_error::~regex_error() throw() {}
namespace {
-#if defined(__clang__)
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wpadded"
-#endif
-
struct collationnames
{
const char* elem_;
char char_;
};
-#if defined(__clang__)
-#pragma clang diagnostic pop
-#endif
-
const collationnames collatenames[] =
{
{"A", 0x41},
@@ -199,21 +190,12 @@ const collationnames collatenames[] =
{"zero", 0x30}
};
-#if defined(__clang__)
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wpadded"
-#endif
-
struct classnames
{
const char* elem_;
regex_traits<char>::char_class_type mask_;
};
-#if defined(__clang__)
-#pragma clang diagnostic pop
-#endif
-
const classnames ClassNames[] =
{
{"alnum", ctype_base::alnum},
OpenPOWER on IntegriCloud