Update stdlibc_workaround.cpp to our style guidelines

This commit is contained in:
Micke Prag 2012-09-26 16:39:05 +02:00
parent 609f7581ea
commit ccc027b381

View file

@ -1,4 +1,10 @@
#include <istream> //
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include <istream> // NOLINT(readability/streams)
// Workarounds for symbols that are missing from Leopard stdlibc++.dylib. // Workarounds for symbols that are missing from Leopard stdlibc++.dylib.
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
// From ostream_insert.h // From ostream_insert.h
@ -9,39 +15,39 @@ template ostream& __ostream_insert(ostream&, const char*, streamsize);
#endif #endif
// From ostream.tcc // From ostream.tcc
template ostream& ostream::_M_insert(long); template ostream& ostream::_M_insert(long); // NOLINT(runtime/int)
template ostream& ostream::_M_insert(unsigned long); template ostream& ostream::_M_insert(unsigned long); // NOLINT(runtime/int)
template ostream& ostream::_M_insert(bool); template ostream& ostream::_M_insert(bool); // NOLINT(readability/function)
#ifdef _GLIBCXX_USE_LONG_LONG #ifdef _GLIBCXX_USE_LONG_LONG
template ostream& ostream::_M_insert(long long); template ostream& ostream::_M_insert(long long); // NOLINT(runtime/int)
template ostream& ostream::_M_insert(unsigned long long); template ostream& ostream::_M_insert(unsigned long long); // NOLINT(runtime/int)
#endif #endif
template ostream& ostream::_M_insert(double); template ostream& ostream::_M_insert(double); // NOLINT(readability/function)
template ostream& ostream::_M_insert(long double); template ostream& ostream::_M_insert(long double);
template ostream& ostream::_M_insert(const void*); template ostream& ostream::_M_insert(const void*);
#ifdef _GLIBCXX_USE_WCHAR_T #ifdef _GLIBCXX_USE_WCHAR_T
template wostream& wostream::_M_insert(long); template wostream& wostream::_M_insert(long); // NOLINT(runtime/int)
template wostream& wostream::_M_insert(unsigned long); template wostream& wostream::_M_insert(unsigned long); // NOLINT(runtime/int)
template wostream& wostream::_M_insert(bool); template wostream& wostream::_M_insert(bool); // NOLINT(readability/function)
#ifdef _GLIBCXX_USE_LONG_LONG #ifdef _GLIBCXX_USE_LONG_LONG
template wostream& wostream::_M_insert(long long); template wostream& wostream::_M_insert(long long); // NOLINT(runtime/int)
template wostream& wostream::_M_insert(unsigned long long); template wostream& wostream::_M_insert(unsigned long long); // NOLINT(runtime/int)
#endif #endif
template wostream& wostream::_M_insert(double); template wostream& wostream::_M_insert(double); // NOLINT(readability/function)
template wostream& wostream::_M_insert(long double); template wostream& wostream::_M_insert(long double);
template wostream& wostream::_M_insert(const void*); template wostream& wostream::_M_insert(const void*);
#endif #endif
// From istream.tcc // From istream.tcc
template istream& istream::_M_extract(unsigned short&); template istream& istream::_M_extract(unsigned short&); // NOLINT(runtime/int)
template istream& istream::_M_extract(unsigned int&); template istream& istream::_M_extract(unsigned int&);
template istream& istream::_M_extract(long&); template istream& istream::_M_extract(long&); // NOLINT(runtime/int)
template istream& istream::_M_extract(unsigned long&); template istream& istream::_M_extract(unsigned long&); // NOLINT(runtime/int)
template istream& istream::_M_extract(bool&); template istream& istream::_M_extract(bool&);
#ifdef _GLIBCXX_USE_LONG_LONG #ifdef _GLIBCXX_USE_LONG_LONG
template istream& istream::_M_extract(long long&); template istream& istream::_M_extract(long long&); // NOLINT(runtime/int)
template istream& istream::_M_extract(unsigned long long&); template istream& istream::_M_extract(unsigned long long&); // NOLINT(runtime/int)
#endif #endif
template istream& istream::_M_extract(float&); template istream& istream::_M_extract(float&);
template istream& istream::_M_extract(double&); template istream& istream::_M_extract(double&);
@ -49,14 +55,14 @@ template istream& istream::_M_extract(long double&);
template istream& istream::_M_extract(void*&); template istream& istream::_M_extract(void*&);
#ifdef _GLIBCXX_USE_WCHAR_T #ifdef _GLIBCXX_USE_WCHAR_T
template wistream& wistream::_M_extract(unsigned short&); template wistream& wistream::_M_extract(unsigned short&); // NOLINT(runtime/int)
template wistream& wistream::_M_extract(unsigned int&); template wistream& wistream::_M_extract(unsigned int&);
template wistream& wistream::_M_extract(long&); template wistream& wistream::_M_extract(long&); // NOLINT(runtime/int)
template wistream& wistream::_M_extract(unsigned long&); template wistream& wistream::_M_extract(unsigned long&); // NOLINT(runtime/int)
template wistream& wistream::_M_extract(bool&); template wistream& wistream::_M_extract(bool&);
#ifdef _GLIBCXX_USE_LONG_LONG #ifdef _GLIBCXX_USE_LONG_LONG
template wistream& wistream::_M_extract(long long&); template wistream& wistream::_M_extract(long long&); // NOLINT(runtime/int)
template wistream& wistream::_M_extract(unsigned long long&); template wistream& wistream::_M_extract(unsigned long long&); // NOLINT(runtime/int)
#endif #endif
template wistream& wistream::_M_extract(float&); template wistream& wistream::_M_extract(float&);
template wistream& wistream::_M_extract(double&); template wistream& wistream::_M_extract(double&);