Makefile.am: Move ctype.cc, ctype_configure_char.cc and ctype_members.cc to ...
authorJonathan Wakely <jwakely@redhat.com>
Mon, 20 Oct 2014 12:34:10 +0000 (13:34 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 20 Oct 2014 12:34:10 +0000 (13:34 +0100)
commita3e4cd810c6f84e1b47f14dec2d3cba2985f9794
tree65190088e95fb0df82c64df80812b362e21805e7
parentb0b4483eef86460ae7497e39a3dc92030d1820a2
Makefile.am: Move ctype.cc, ctype_configure_char.cc and ctype_members.cc to ...

* src/c++98/Makefile.am: Move ctype.cc, ctype_configure_char.cc and
ctype_members.cc to ...
* src/c++11/Makefile.am: Here.
* src/c++98/Makefile.in: Regenerate.
* src/c++11/Makefile.in: Regenerate.
* src/c++98/ctype.cc: Move file to ...
* src/c++11/ctype.cc: Here, define ctype_base::blank.
* config/abi/pre/gnu.ver: Export ctype_base::blank.
* config/locale/generic/ctype_members.cc
(ctype<wchar_t>::_M_convert_to_wmask): Handle blank. Update comments.
* config/locale/gnu/ctype_members.cc
(ctype<wchar_t>::_M_convert_to_wmask): Likewise.
* config/os/aix/ctype_base.h (ctype_base::blank): Declare.
* config/os/bionic/ctype_base.h (ctype_base::blank): Likewise.
* config/os/bsd/darwin/ctype_base.h (ctype_base::blank): Declare.
* config/os/bsd/darwin/ctype_inline.h (ctype<char>::is): Use blank.
(ctype<wchar_t::do_is): Likewise.
* config/os/bsd/dragonfly/ctype_base.h (ctype_base::blank): Declare.
* config/os/bsd/dragonfly/ctype_inline.h (ctype<char>::is): Use blank.
(ctype<wchar_t::do_is): Likewise.
* config/os/bsd/freebsd/ctype_base.h (ctype_base::blank): Declare.
* config/os/bsd/freebsd/ctype_inline.h (ctype<char>::is): Use blank.
(ctype<wchar_t::do_is): Likewise.
* config/os/bsd/netbsd/ctype_base.h (ctype_base::blank): Declare.
* config/os/bsd/openbsd/ctype_base.h (ctype_base::blank): Likewise.
* config/os/djgpp/ctype_base.h (ctype_base::blank): Likewise.
* config/os/generic/ctype_base.h (ctype_base::blank): Declare.
* config/os/generic/ctype_inline.h (ctype<char>::is): Use blank.
* config/os/gnu-linux/ctype_base.h (ctype_base::blank): Declare.
* config/os/hpux/ctype_base.h (ctype_base::blank): Likewise.
* config/os/mingw32-w64/ctype_base.h (ctype_base::blank): Declare.
* config/os/mingw32-w64/ctype_configure_char.cc
(ctype<char>::classic_table()): Set blank bit for space and tab.
* config/os/mingw32/ctype_base.h (ctype_base::blank): Declare.
* config/os/mingw32/ctype_configure_char.cc
(ctype<char>::classic_table()): Set blank bit for space and tab.
* config/os/newlib/ctype_base.h (ctype_base::blank): Declare.
* config/os/qnx/qnx6.1/ctype_base.h (ctype_base::blank): Likewise.
* config/os/solaris/solaris2.10/ctype_base.h (ctype_base::blank):
Likewise.
* config/os/tpf/ctype_base.h (ctype_base::blank): Likewise.
* config/os/uclibc/ctype_base.h (ctype_base::blank): Likewise.
* config/os/vxworks/ctype_base.h (ctype_base::blank): Likewise.
* include/bits/locale_facets.h (isblank): Define.
* include/bits/localefwd.h (isblank): Declare.
* testsuite/22_locale/classification/isblank.cc: New.
* testsuite/22_locale/ctype_base/blank.cc: New.

From-SVN: r216464
39 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/config/locale/generic/ctype_members.cc
libstdc++-v3/config/locale/gnu/ctype_members.cc
libstdc++-v3/config/os/aix/ctype_base.h
libstdc++-v3/config/os/bionic/ctype_base.h
libstdc++-v3/config/os/bsd/darwin/ctype_base.h
libstdc++-v3/config/os/bsd/darwin/ctype_inline.h
libstdc++-v3/config/os/bsd/dragonfly/ctype_base.h
libstdc++-v3/config/os/bsd/dragonfly/ctype_inline.h
libstdc++-v3/config/os/bsd/freebsd/ctype_base.h
libstdc++-v3/config/os/bsd/freebsd/ctype_inline.h
libstdc++-v3/config/os/bsd/netbsd/ctype_base.h
libstdc++-v3/config/os/bsd/openbsd/ctype_base.h
libstdc++-v3/config/os/djgpp/ctype_base.h
libstdc++-v3/config/os/generic/ctype_base.h
libstdc++-v3/config/os/generic/ctype_inline.h
libstdc++-v3/config/os/gnu-linux/ctype_base.h
libstdc++-v3/config/os/hpux/ctype_base.h
libstdc++-v3/config/os/mingw32-w64/ctype_base.h
libstdc++-v3/config/os/mingw32-w64/ctype_configure_char.cc
libstdc++-v3/config/os/mingw32/ctype_base.h
libstdc++-v3/config/os/mingw32/ctype_configure_char.cc
libstdc++-v3/config/os/newlib/ctype_base.h
libstdc++-v3/config/os/qnx/qnx6.1/ctype_base.h
libstdc++-v3/config/os/solaris/solaris2.10/ctype_base.h
libstdc++-v3/config/os/tpf/ctype_base.h
libstdc++-v3/config/os/uclibc/ctype_base.h
libstdc++-v3/config/os/vxworks/ctype_base.h
libstdc++-v3/include/bits/locale_facets.h
libstdc++-v3/include/bits/localefwd.h
libstdc++-v3/src/c++11/Makefile.am
libstdc++-v3/src/c++11/Makefile.in
libstdc++-v3/src/c++11/ctype.cc [new file with mode: 0644]
libstdc++-v3/src/c++98/Makefile.am
libstdc++-v3/src/c++98/Makefile.in
libstdc++-v3/src/c++98/ctype.cc [deleted file]
libstdc++-v3/testsuite/22_locale/classification/isblank.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/ctype_base/blank.cc [new file with mode: 0644]