summaryrefslogtreecommitdiffstats
path: root/libcxx/src/regex.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2016-01-28 06:13:36 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2016-01-28 06:13:36 +0000
commit208ee5a09da49ad1f5fea60a3e12f6ac9ed6f709 (patch)
tree6f90189ca641e20f78d04de3b689f371fd33d1ea /libcxx/src/regex.cpp
parent3efc7c0c464c317b0f88cbf26bc9c53b5d6414de (diff)
downloadbcm5719-llvm-208ee5a09da49ad1f5fea60a3e12f6ac9ed6f709.tar.gz
bcm5719-llvm-208ee5a09da49ad1f5fea60a3e12f6ac9ed6f709.zip
[libcxx] Remove pragmas that were needed to suppress warnings produced
by -Wpadded. We don't need these pragmas anymore because -Wpadded was removed from buildit in r258900. llvm-svn: 259023
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