[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:
@@ -123,11 +123,6 @@ const locale::category locale::time;
|
|||||||
const locale::category locale::messages;
|
const locale::category locale::messages;
|
||||||
const locale::category locale::all;
|
const locale::category locale::all;
|
||||||
|
|
||||||
#if defined(__clang__)
|
|
||||||
#pragma clang diagnostic push
|
|
||||||
#pragma clang diagnostic ignored "-Wpadded"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class _LIBCPP_HIDDEN locale::__imp
|
class _LIBCPP_HIDDEN locale::__imp
|
||||||
: public facet
|
: public facet
|
||||||
{
|
{
|
||||||
@@ -163,10 +158,6 @@ private:
|
|||||||
template <class F> void install_from(const __imp& other);
|
template <class F> void install_from(const __imp& other);
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(__clang__)
|
|
||||||
#pragma clang diagnostic pop
|
|
||||||
#endif
|
|
||||||
|
|
||||||
locale::__imp::__imp(size_t refs)
|
locale::__imp::__imp(size_t refs)
|
||||||
: facet(refs),
|
: facet(refs),
|
||||||
facets_(N),
|
facets_(N),
|
||||||
|
|||||||
@@ -69,21 +69,12 @@ regex_error::~regex_error() throw() {}
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
#if defined(__clang__)
|
|
||||||
#pragma clang diagnostic push
|
|
||||||
#pragma clang diagnostic ignored "-Wpadded"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct collationnames
|
struct collationnames
|
||||||
{
|
{
|
||||||
const char* elem_;
|
const char* elem_;
|
||||||
char char_;
|
char char_;
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(__clang__)
|
|
||||||
#pragma clang diagnostic pop
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const collationnames collatenames[] =
|
const collationnames collatenames[] =
|
||||||
{
|
{
|
||||||
{"A", 0x41},
|
{"A", 0x41},
|
||||||
@@ -199,21 +190,12 @@ const collationnames collatenames[] =
|
|||||||
{"zero", 0x30}
|
{"zero", 0x30}
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(__clang__)
|
|
||||||
#pragma clang diagnostic push
|
|
||||||
#pragma clang diagnostic ignored "-Wpadded"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct classnames
|
struct classnames
|
||||||
{
|
{
|
||||||
const char* elem_;
|
const char* elem_;
|
||||||
regex_traits<char>::char_class_type mask_;
|
regex_traits<char>::char_class_type mask_;
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(__clang__)
|
|
||||||
#pragma clang diagnostic pop
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const classnames ClassNames[] =
|
const classnames ClassNames[] =
|
||||||
{
|
{
|
||||||
{"alnum", ctype_base::alnum},
|
{"alnum", ctype_base::alnum},
|
||||||
|
|||||||
Reference in New Issue
Block a user