Commit d8dd52a9 by Benjamin Kosnik Committed by Benjamin Kosnik

user.cfg.in: Update to Doxygen 1.8.0.

2012-03-08  Benjamin Kosnik  <bkoz@redhat.com>

	    * doc/doxygen/user.cfg.in: Update to Doxygen 1.8.0.
	    * include/bits/locale_facets.h: Adjust markup to avoid warnings.
	    * include/ext/pb_ds/assoc_container.hpp: Same.
	    * include/ext/pb_ds/priority_queue.hpp: Same.
	    * include/std/fstream: Same.
	    * include/std/ratio: Same.
	    * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust line
	    numbers.
	    * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.

Co-Authored-By: Ramana Radhakrishnan <ramana@gcc.gnu.org>

From-SVN: r185094
parent 2a4368af
2012-03-08 Benjamin Kosnik <bkoz@redhat.com>
* doc/doxygen/user.cfg.in: Update to Doxygen 1.8.0.
* include/bits/locale_facets.h: Adjust markup to avoid warnings.
* include/ext/pb_ds/assoc_container.hpp: Same.
* include/ext/pb_ds/priority_queue.hpp: Same.
* include/std/fstream: Same.
* include/std/ratio: Same.
* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust line
numbers.
* testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
2012-03-08 Jonathan Wakely <jwakely.gcc@gmail.com> 2012-03-08 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/52433 PR libstdc++/52433
...@@ -121,7 +133,7 @@ ...@@ -121,7 +133,7 @@
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2012-03-01 Benjamin Kosnik <bkoz@redhat.com> 2012-03-01 Benjamin Kosnik <bkoz@redhat.com>
Ramana Radhakrishnan <ramana@gcc.gnu.org> Ramana Radhakrishnan <ramana@gcc.gnu.org>
PR libstdc++/51785 PR libstdc++/51785
* acinclude.m4 (GLIBCXX_CHECK_STDIO_PROTO): New. * acinclude.m4 (GLIBCXX_CHECK_STDIO_PROTO): New.
......
// Locale support -*- C++ -*- // Locale support -*- C++ -*-
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
// 2006, 2007, 2008, 2009, 2010, 2011 // 2006, 2007, 2008, 2009, 2010, 2011, 2012
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#include <cwctype> // For wctype_t #include <cwctype> // For wctype_t
#include <cctype> #include <cctype>
#include <bits/ctype_base.h> #include <bits/ctype_base.h>
#include <iosfwd> #include <iosfwd>
#include <bits/ios_base.h> // For ios_base, ios_base::iostate #include <bits/ios_base.h> // For ios_base, ios_base::iostate
#include <streambuf> #include <streambuf>
...@@ -1524,16 +1524,16 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -1524,16 +1524,16 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
// Below are the indices into _S_atoms_out. // Below are the indices into _S_atoms_out.
enum enum
{ {
_S_ominus, _S_ominus,
_S_oplus, _S_oplus,
_S_ox, _S_ox,
_S_oX, _S_oX,
_S_odigits, _S_odigits,
_S_odigits_end = _S_odigits + 16, _S_odigits_end = _S_odigits + 16,
_S_oudigits = _S_odigits_end, _S_oudigits = _S_odigits_end,
_S_oudigits_end = _S_oudigits + 16, _S_oudigits_end = _S_oudigits + 16,
_S_oe = _S_odigits + 14, // For scientific notation, 'e' _S_oe = _S_odigits + 14, // For scientific notation, 'e'
_S_oE = _S_oudigits + 14, // For scientific notation, 'E' _S_oE = _S_oudigits + 14, // For scientific notation, 'E'
_S_oend = _S_oudigits_end _S_oend = _S_oudigits_end
}; };
...@@ -1599,7 +1599,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -1599,7 +1599,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
_M_truename(0), _M_truename_size(0), _M_falsename(0), _M_truename(0), _M_truename_size(0), _M_falsename(0),
_M_falsename_size(0), _M_decimal_point(_CharT()), _M_falsename_size(0), _M_decimal_point(_CharT()),
_M_thousands_sep(_CharT()), _M_allocated(false) _M_thousands_sep(_CharT()), _M_allocated(false)
{ } { }
~__numpunct_cache(); ~__numpunct_cache();
...@@ -1609,7 +1609,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -1609,7 +1609,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
private: private:
__numpunct_cache& __numpunct_cache&
operator=(const __numpunct_cache&); operator=(const __numpunct_cache&);
explicit explicit
__numpunct_cache(const __numpunct_cache&); __numpunct_cache(const __numpunct_cache&);
}; };
...@@ -1981,9 +1981,10 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL ...@@ -1981,9 +1981,10 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL
* specifier. Otherwise, parses like %d for signed and %u for unsigned * specifier. Otherwise, parses like %d for signed and %u for unsigned
* types. The matching type length modifier is also used. * types. The matching type length modifier is also used.
* *
* Digit grouping is interpreted according to numpunct::grouping() and * Digit grouping is interpreted according to
* numpunct::thousands_sep(). If the pattern of digit groups isn't * numpunct::grouping() and numpunct::thousands_sep(). If the
* consistent, sets err to ios_base::failbit. * pattern of digit groups isn't consistent, sets err to
* ios_base::failbit.
* *
* If parsing the string yields a valid value for @a v, @a v is set. * If parsing the string yields a valid value for @a v, @a v is set.
* Otherwise, sets err to ios_base::failbit and leaves @a v unaltered. * Otherwise, sets err to ios_base::failbit and leaves @a v unaltered.
...@@ -2040,9 +2041,10 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL ...@@ -2040,9 +2041,10 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL
* matching type length modifier is also used. * matching type length modifier is also used.
* *
* The decimal point character used is numpunct::decimal_point(). * The decimal point character used is numpunct::decimal_point().
* Digit grouping is interpreted according to numpunct::grouping() and * Digit grouping is interpreted according to
* numpunct::thousands_sep(). If the pattern of digit groups isn't * numpunct::grouping() and numpunct::thousands_sep(). If the
* consistent, sets err to ios_base::failbit. * pattern of digit groups isn't consistent, sets err to
* ios_base::failbit.
* *
* If parsing the string yields a valid value for @a v, @a v is set. * If parsing the string yields a valid value for @a v, @a v is set.
* Otherwise, sets err to ios_base::failbit and leaves @a v unaltered. * Otherwise, sets err to ios_base::failbit and leaves @a v unaltered.
...@@ -2079,9 +2081,10 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL ...@@ -2079,9 +2081,10 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL
* *
* The input characters are parsed like the scanf %p specifier. * The input characters are parsed like the scanf %p specifier.
* *
* Digit grouping is interpreted according to numpunct::grouping() and * Digit grouping is interpreted according to
* numpunct::thousands_sep(). If the pattern of digit groups isn't * numpunct::grouping() and numpunct::thousands_sep(). If the
* consistent, sets err to ios_base::failbit. * pattern of digit groups isn't consistent, sets err to
* ios_base::failbit.
* *
* Note that the digit grouping effect for pointers is a bit ambiguous * Note that the digit grouping effect for pointers is a bit ambiguous
* in the standard and shouldn't be relied on. See DR 344. * in the standard and shouldn't be relied on. See DR 344.
...@@ -2111,14 +2114,14 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL ...@@ -2111,14 +2114,14 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL
string&) const; string&) const;
template<typename _ValueT> template<typename _ValueT>
iter_type iter_type
_M_extract_int(iter_type, iter_type, ios_base&, ios_base::iostate&, _M_extract_int(iter_type, iter_type, ios_base&, ios_base::iostate&,
_ValueT&) const; _ValueT&) const;
template<typename _CharT2> template<typename _CharT2>
typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, int>::__type typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, int>::__type
_M_find(const _CharT2*, size_t __len, _CharT2 __c) const _M_find(const _CharT2*, size_t __len, _CharT2 __c) const
{ {
int __ret = -1; int __ret = -1;
if (__len <= 10) if (__len <= 10)
{ {
...@@ -2138,10 +2141,10 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL ...@@ -2138,10 +2141,10 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL
} }
template<typename _CharT2> template<typename _CharT2>
typename __gnu_cxx::__enable_if<!__is_char<_CharT2>::__value, typename __gnu_cxx::__enable_if<!__is_char<_CharT2>::__value,
int>::__type int>::__type
_M_find(const _CharT2* __zero, size_t __len, _CharT2 __c) const _M_find(const _CharT2* __zero, size_t __len, _CharT2 __c) const
{ {
int __ret = -1; int __ret = -1;
const char_type* __q = char_traits<_CharT2>::find(__zero, __len, __c); const char_type* __q = char_traits<_CharT2>::find(__zero, __len, __c);
if (__q) if (__q)
...@@ -2195,7 +2198,7 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL ...@@ -2195,7 +2198,7 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL
virtual iter_type virtual iter_type
do_get(iter_type __beg, iter_type __end, ios_base& __io, do_get(iter_type __beg, iter_type __end, ios_base& __io,
ios_base::iostate& __err, long long& __v) const ios_base::iostate& __err, long long& __v) const
{ return _M_extract_int(__beg, __end, __io, __err, __v); } { return _M_extract_int(__beg, __end, __io, __err, __v); }
virtual iter_type virtual iter_type
do_get(iter_type __beg, iter_type __end, ios_base& __io, do_get(iter_type __beg, iter_type __end, ios_base& __io,
...@@ -2313,9 +2316,9 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL ...@@ -2313,9 +2316,9 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL
* If ios_base::showbase is set, '0' precedes octal values (except 0) * If ios_base::showbase is set, '0' precedes octal values (except 0)
* and '0[xX]' precedes hex values. * and '0[xX]' precedes hex values.
* *
* Thousands separators are inserted according to numpunct::grouping() * The decimal point character used is numpunct::decimal_point().
* and numpunct::thousands_sep(). The decimal point character used is * Thousands separators are inserted according to
* numpunct::decimal_point(). * numpunct::grouping() and numpunct::thousands_sep().
* *
* If io.width() is non-zero, enough @a fill characters are inserted to * If io.width() is non-zero, enough @a fill characters are inserted to
* make the result at least that wide. If * make the result at least that wide. If
...@@ -2376,9 +2379,9 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL ...@@ -2376,9 +2379,9 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL
* If ios_base::showpoint is set, a decimal point will always be * If ios_base::showpoint is set, a decimal point will always be
* output. * output.
* *
* Thousands separators are inserted according to numpunct::grouping() * The decimal point character used is numpunct::decimal_point().
* and numpunct::thousands_sep(). The decimal point character used is * Thousands separators are inserted according to
* numpunct::decimal_point(). * numpunct::grouping() and numpunct::thousands_sep().
* *
* If io.width() is non-zero, enough @a fill characters are inserted to * If io.width() is non-zero, enough @a fill characters are inserted to
* make the result at least that wide. If * make the result at least that wide. If
...@@ -2425,8 +2428,8 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL ...@@ -2425,8 +2428,8 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL
protected: protected:
template<typename _ValueT> template<typename _ValueT>
iter_type iter_type
_M_insert_float(iter_type, ios_base& __io, char_type __fill, _M_insert_float(iter_type, ios_base& __io, char_type __fill,
char __mod, _ValueT __v) const; char __mod, _ValueT __v) const;
void void
...@@ -2435,8 +2438,8 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL ...@@ -2435,8 +2438,8 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL
char_type* __cs, int& __len) const; char_type* __cs, int& __len) const;
template<typename _ValueT> template<typename _ValueT>
iter_type iter_type
_M_insert_int(iter_type, ios_base& __io, char_type __fill, _M_insert_int(iter_type, ios_base& __io, char_type __fill,
_ValueT __v) const; _ValueT __v) const;
void void
...@@ -2471,7 +2474,7 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL ...@@ -2471,7 +2474,7 @@ _GLIBCXX_BEGIN_NAMESPACE_LDBL
virtual iter_type virtual iter_type
do_put(iter_type __s, ios_base& __io, char_type __fill, long __v) const do_put(iter_type __s, ios_base& __io, char_type __fill, long __v) const
{ return _M_insert_int(__s, __io, __fill, __v); } { return _M_insert_int(__s, __io, __fill, __v); }
virtual iter_type virtual iter_type
do_put(iter_type __s, ios_base& __io, char_type __fill, do_put(iter_type __s, ios_base& __io, char_type __fill,
...@@ -2549,7 +2552,7 @@ _GLIBCXX_END_NAMESPACE_LDBL ...@@ -2549,7 +2552,7 @@ _GLIBCXX_END_NAMESPACE_LDBL
/// Convenience interface to ctype.is(ctype_base::lower, __c). /// Convenience interface to ctype.is(ctype_base::lower, __c).
template<typename _CharT> template<typename _CharT>
inline bool inline bool
islower(_CharT __c, const locale& __loc) islower(_CharT __c, const locale& __loc)
{ return use_facet<ctype<_CharT> >(__loc).is(ctype_base::lower, __c); } { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::lower, __c); }
......
...@@ -57,7 +57,7 @@ namespace __gnu_pbds ...@@ -57,7 +57,7 @@ namespace __gnu_pbds
*/ */
/** /**
* @defgroup hash-based * @defgroup hash-based Hash-Based
* @ingroup containers-pbds * @ingroup containers-pbds
* @{ * @{
*/ */
...@@ -521,7 +521,7 @@ namespace __gnu_pbds ...@@ -521,7 +521,7 @@ namespace __gnu_pbds
/** /**
* @defgroup branch-based * @defgroup branch-based Branch-Based
* @ingroup containers-pbds * @ingroup containers-pbds
* @{ * @{
*/ */
...@@ -617,7 +617,7 @@ namespace __gnu_pbds ...@@ -617,7 +617,7 @@ namespace __gnu_pbds
* @tparam Cmp_Fn Comparison functor. * @tparam Cmp_Fn Comparison functor.
* @tparam Tag Instantiating data structure type, * @tparam Tag Instantiating data structure type,
* see container_tag. * see container_tag.
* @tparam Node_Update Updates nodes, * @tparam Node_Update Updates tree internal-nodes,
* restores invariants when invalidated. * restores invariants when invalidated.
* XXX See design::tree-based-containers::node invariants. * XXX See design::tree-based-containers::node invariants.
* @tparam _Alloc Allocator type. * @tparam _Alloc Allocator type.
...@@ -708,7 +708,7 @@ namespace __gnu_pbds ...@@ -708,7 +708,7 @@ namespace __gnu_pbds
* @tparam _ATraits Element access traits. * @tparam _ATraits Element access traits.
* @tparam Tag Instantiating data structure type, * @tparam Tag Instantiating data structure type,
* see container_tag. * see container_tag.
* @tparam Node_Update Updates trie nodes, * @tparam Node_Update Updates trie internal-nodes,
* restores invariants when invalidated. * restores invariants when invalidated.
* XXX See design::tree-based-containers::node invariants. * XXX See design::tree-based-containers::node invariants.
* @tparam _Alloc Allocator type. * @tparam _Alloc Allocator type.
...@@ -786,7 +786,7 @@ namespace __gnu_pbds ...@@ -786,7 +786,7 @@ namespace __gnu_pbds
/** /**
* @defgroup list-based * @defgroup list-based List-Based
* @ingroup containers-pbds * @ingroup containers-pbds
* @{ * @{
*/ */
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
namespace __gnu_pbds namespace __gnu_pbds
{ {
/** /**
* @defgroup heap-based * @defgroup heap-based Heap-Based
* @ingroup containers-pbds * @ingroup containers-pbds
* @{ * @{
*/ */
......
...@@ -232,7 +232,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -232,7 +232,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
* *
* If a file is already open, this function immediately fails. * If a file is already open, this function immediately fails.
* Otherwise it tries to open the file named @a __s using the flags * Otherwise it tries to open the file named @a __s using the flags
* given in @a mode. * given in @a __mode.
* *
* Table 92, adapted here, gives the relation between openmode * Table 92, adapted here, gives the relation between openmode
* combinations and the equivalent fopen() flags. * combinations and the equivalent fopen() flags.
...@@ -619,8 +619,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -619,8 +619,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
* @param __s Null terminated string specifying the filename. * @param __s Null terminated string specifying the filename.
* @param __mode Open file in specified mode (see std::ios_base). * @param __mode Open file in specified mode (see std::ios_base).
* *
* @c ios_base::out|ios_base::trunc is automatically included in * @c ios_base::out | @c ios_base::trunc is automatically included in
* @p __mode. * @a __mode.
* *
* Tip: When using std::string to hold the filename, you must use * Tip: When using std::string to hold the filename, you must use
* .c_str() before passing it to this constructor. * .c_str() before passing it to this constructor.
...@@ -640,7 +640,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -640,7 +640,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
* @param __s std::string specifying the filename. * @param __s std::string specifying the filename.
* @param __mode Open file in specified mode (see std::ios_base). * @param __mode Open file in specified mode (see std::ios_base).
* *
* @c ios_base::out|ios_base::trunc is automatically included in * @c ios_base::out | @c ios_base::trunc is automatically included in
* @a __mode. * @a __mode.
*/ */
explicit explicit
......
...@@ -63,9 +63,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -63,9 +63,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{ }; { };
template<intmax_t _Pn, intmax_t _Qn> template<intmax_t _Pn, intmax_t _Qn>
struct __static_gcd;
template<intmax_t _Pn, intmax_t _Qn>
struct __static_gcd struct __static_gcd
: __static_gcd<_Qn, (_Pn % _Qn)> : __static_gcd<_Qn, (_Pn % _Qn)>
{ }; { };
......
...@@ -49,7 +49,7 @@ test04() ...@@ -49,7 +49,7 @@ test04()
// { dg-error "required from here" "" { target *-*-* } 34 } // { dg-error "required from here" "" { target *-*-* } 34 }
// { dg-error "required from here" "" { target *-*-* } 40 } // { dg-error "required from here" "" { target *-*-* } 40 }
// { dg-error "required from here" "" { target *-*-* } 46 } // { dg-error "required from here" "" { target *-*-* } 46 }
// { dg-error "denominator cannot be zero" "" { target *-*-* } 268 } // { dg-error "denominator cannot be zero" "" { target *-*-* } 265 }
// { dg-error "out of range" "" { target *-*-* } 269 } // { dg-error "out of range" "" { target *-*-* } 266 }
// { dg-error "overflow in constant expression" "" { target *-*-* } 61 } // { dg-error "overflow in constant expression" "" { target *-*-* } 61 }
// { dg-prune-output "not a member" } // { dg-prune-output "not a member" }
...@@ -42,9 +42,9 @@ test02() ...@@ -42,9 +42,9 @@ test02()
// { dg-error "required from here" "" { target *-*-* } 29 } // { dg-error "required from here" "" { target *-*-* } 29 }
// { dg-error "required from here" "" { target *-*-* } 36 } // { dg-error "required from here" "" { target *-*-* } 36 }
// { dg-error "required from here" "" { target *-*-* } 38 } // { dg-error "required from here" "" { target *-*-* } 38 }
// { dg-error "overflow in addition" "" { target *-*-* } 432 } // { dg-error "overflow in addition" "" { target *-*-* } 429 }
// { dg-error "overflow in multiplication" "" { target *-*-* } 104 } // { dg-error "overflow in multiplication" "" { target *-*-* } 97 }
// { dg-error "overflow in multiplication" "" { target *-*-* } 100 } // { dg-error "overflow in multiplication" "" { target *-*-* } 99 }
// { dg-error "overflow in multiplication" "" { target *-*-* } 102 } // { dg-error "overflow in multiplication" "" { target *-*-* } 101 }
// { dg-prune-output "out of range" } // { dg-prune-output "out of range" }
// { dg-prune-output "not usable in a constant expression" } // { dg-prune-output "not usable in a constant expression" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment