diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-29 16:11:43 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-29 16:11:43 +0000 |
commit | 33b7ef52772256695b3e1c592f7d62754e794522 (patch) | |
tree | 6fc3bcf79e417c6b1b8b408b428be97042699596 /libstdc++-v3/config/os/tpf | |
parent | 8b066242809973ce7ae3d24712f430a9a2bd786a (diff) | |
download | gcc-33b7ef52772256695b3e1c592f7d62754e794522.tar.gz |
Remove trailing whitespace from libstdc++-v3 files
2016-04-29 Chris Gregory <czipperz@gmail.com>
* config/*: Remove trailing whitespace.
* src/*: Likewise.
* testsuite/tr1/*: Likewise.
* testsuite/util/*: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235645 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config/os/tpf')
-rw-r--r-- | libstdc++-v3/config/os/tpf/ctype_base.h | 6 | ||||
-rw-r--r-- | libstdc++-v3/config/os/tpf/ctype_configure_char.cc | 6 | ||||
-rw-r--r-- | libstdc++-v3/config/os/tpf/ctype_inline.h | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/libstdc++-v3/config/os/tpf/ctype_base.h b/libstdc++-v3/config/os/tpf/ctype_base.h index 10565f82e19..8e5be5f27cd 100644 --- a/libstdc++-v3/config/os/tpf/ctype_base.h +++ b/libstdc++-v3/config/os/tpf/ctype_base.h @@ -25,9 +25,9 @@ // // ISO C++ 14882: 22.1 Locales // - + // Information as gleaned from /usr/include/ctype.h - + namespace std _GLIBCXX_VISIBILITY(default) { _GLIBCXX_BEGIN_NAMESPACE_VERSION @@ -40,7 +40,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION // NB: Offsets into ctype<char>::_M_table force a particular size // on the mask type. Because of this, we don't use an enum. - typedef unsigned short mask; + typedef unsigned short mask; static const mask upper = _ISupper; static const mask lower = _ISlower; static const mask alpha = _ISalpha; diff --git a/libstdc++-v3/config/os/tpf/ctype_configure_char.cc b/libstdc++-v3/config/os/tpf/ctype_configure_char.cc index 75b2f9d11de..7dc9569ca4c 100644 --- a/libstdc++-v3/config/os/tpf/ctype_configure_char.cc +++ b/libstdc++-v3/config/os/tpf/ctype_configure_char.cc @@ -53,8 +53,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION return __ret; } - ctype<char>::ctype(__c_locale, const mask* __table, bool __del, - size_t __refs) + ctype<char>::ctype(__c_locale, const mask* __table, bool __del, + size_t __refs) : facet(__refs), _M_del(__table != 0 && __del) { char* __old = setlocale(LC_CTYPE, NULL); @@ -105,7 +105,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ctype<char>::do_tolower(char __c) const { return _M_tolower[static_cast<unsigned char>(__c)]; } - const char* + const char* ctype<char>::do_tolower(char* __low, const char* __high) const { while (__low < __high) diff --git a/libstdc++-v3/config/os/tpf/ctype_inline.h b/libstdc++-v3/config/os/tpf/ctype_inline.h index be320d9136f..6621715dcd1 100644 --- a/libstdc++-v3/config/os/tpf/ctype_inline.h +++ b/libstdc++-v3/config/os/tpf/ctype_inline.h @@ -30,10 +30,10 @@ // // ISO C++ 14882: 22.1 Locales // - + // ctype bits to be inlined go here. Non-inlinable (ie virtual do_*) // functions go in ctype.cc - + namespace std _GLIBCXX_VISIBILITY(default) { _GLIBCXX_BEGIN_NAMESPACE_VERSION @@ -56,7 +56,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ctype<char>:: scan_is(mask __m, const char* __low, const char* __high) const { - while (__low < __high + while (__low < __high && !(_M_table[static_cast<unsigned char>(*__low)] & __m)) ++__low; return __low; @@ -66,7 +66,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ctype<char>:: scan_not(mask __m, const char* __low, const char* __high) const { - while (__low < __high + while (__low < __high && (_M_table[static_cast<unsigned char>(*__low)] & __m) != 0) ++__low; return __low; |