[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.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@259023 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Akira Hatanaka
2016-01-28 06:13:36 +00:00
parent b8d4b4c26d
commit ef67e427b5
2 changed files with 0 additions and 27 deletions

View File

@@ -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},