build_hacking.xml: Fix documentation typos.

2013-11-15  Ondřej Bílka <neleai@seznam.cz>
	    Jonathan Wakely  <jwakely.gcc@gmail.com>

	* doc/xml/manual/build_hacking.xml: Fix documentation typos.
	* doc/xml/manual/configure.xml: Likewise.
	* include/bits/atomic_base.h: Fix typos in comments.
	* include/bits/random.h: Likewise.
	* include/ext/cast.h: Likewise.
	* libsupc++/cxxabi.h: Likewise.
	* testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Likewise.
	* testsuite/tr1/5_numerical_facilities/special_functions/testcase.h:
	Likewise.
	* testsuite/util/exception/safety.h: Likewise.
	* testsuite/util/testsuite_containers.h: Likewise.
	* testsuite/util/testsuite_hooks.cc: Likewise.

Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>

From-SVN: r204850
This commit is contained in:
Ondřej Bílka 2013-11-15 17:33:59 +01:00 committed by Jonathan Wakely
parent ff90a89e48
commit 64e1ab1168
12 changed files with 34 additions and 18 deletions

View File

@ -1,3 +1,19 @@
2013-11-15 Ondřej Bílka <neleai@seznam.cz>
Jonathan Wakely <jwakely.gcc@gmail.com>
* doc/xml/manual/build_hacking.xml: Fix documentation typos.
* doc/xml/manual/configure.xml: Likewise.
* include/bits/atomic_base.h: Fix typos in comments.
* include/bits/random.h: Likewise.
* include/ext/cast.h: Likewise.
* libsupc++/cxxabi.h: Likewise.
* testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/special_functions/testcase.h:
Likewise.
* testsuite/util/exception/safety.h: Likewise.
* testsuite/util/testsuite_containers.h: Likewise.
* testsuite/util/testsuite_hooks.cc: Likewise.
2013-11-15 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/bits/stl_map.h (map): Implement C++11 allocator-aware

View File

@ -142,13 +142,13 @@ in the build directory starts the build process. The <literal>all</literal> targ
<para>
Most comments should use {octothorpes, shibboleths, hash marks,
pound signs, whatever} rather than "dnl". Nearly all comments in
configure.ac should. Comments inside macros written in ancilliary
configure.ac should. Comments inside macros written in ancillary
.m4 files should. About the only comments which should
<emphasis>not</emphasis> use #, but use dnl instead, are comments
<emphasis>outside</emphasis> our own macros in the ancilliary
<emphasis>outside</emphasis> our own macros in the ancillary
files. The difference is that # comments show up in
<code>configure</code> (which is most helpful for debugging),
while dnl'd lines just vanish. Since the macros in ancilliary
while dnl'd lines just vanish. Since the macros in ancillary
files generate code which appears in odd places, their "outside"
comments tend to not be useful while reading
<code>configure</code>.
@ -419,7 +419,7 @@ in the build directory starts the build process. The <literal>all</literal> targ
</para>
<para>
Generates two convenience libraries, one for C++98 and one for
C++11, various compability files for shared and static
C++11, various compatibility files for shared and static
libraries, and then collects all the generated bits and creates
the final libstdc++ libraries.
</para>

View File

@ -376,7 +376,7 @@
to standard error for certain events such as calling a pure virtual
function or the invocation of the standard terminate handler. Those
messages cause the library to depend on the demangler and standard I/O
facilites, which might be undesirable in a low-memory environment or
facilities, which might be undesirable in a low-memory environment or
when standard error is not available. This option disables those
messages. This option does not change the library ABI.
</para>

View File

@ -255,7 +255,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
*
* Base type is POD with data, allowing atomic_flag to derive from
* it and meet the standard layout type requirement. In addition to
* compatibilty with a C interface, this allows different
* compatibility with a C interface, this allows different
* implementations of atomic_flag to use the same atomic operation
* functions, via a standard conversion to the __atomic_flag_base
* argument.

View File

@ -5685,11 +5685,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{ return __d1._M_param == __d2._M_param; }
/**
* @brief Inserts a %piecewise_constan_distribution random
* @brief Inserts a %piecewise_constant_distribution random
* number distribution @p __x into the output stream @p __os.
*
* @param __os An output stream.
* @param __x A %piecewise_constan_distribution random number
* @param __x A %piecewise_constant_distribution random number
* distribution.
*
* @returns The output stream with the state of @p __x inserted or in
@ -5701,11 +5701,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
const std::piecewise_constant_distribution<_RealType1>& __x);
/**
* @brief Extracts a %piecewise_constan_distribution random
* @brief Extracts a %piecewise_constant_distribution random
* number distribution @p __x from the input stream @p __is.
*
* @param __is An input stream.
* @param __x A %piecewise_constan_distribution random number
* @param __x A %piecewise_constant_distribution random number
* generator engine.
*
* @returns The input stream with @p __x extracted or in an error

View File

@ -38,7 +38,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
* These functions are here to allow containers to support non standard
* pointer types. For normal pointers, these resolve to the use of the
* standard cast operation. For other types the functions will perform
* the apprpriate cast to/from the custom pointer class so long as that
* the appropriate cast to/from the custom pointer class so long as that
* class meets the following conditions:
* 1) has a typedef element_type which names tehe type it points to.
* 2) has a get() const method which returns element_type*.

View File

@ -144,7 +144,7 @@ namespace __cxxabiv1
void
__cxa_deleted_virtual(void) __attribute__ ((__noreturn__));
// Exception handling auxillary.
// Exception handling auxiliary.
void
__cxa_bad_cast() __attribute__((__noreturn__));

View File

@ -38,7 +38,7 @@
/**
* This example shows the case where a hash-based container object is
* resized to a value which it cannot accomodate at runtime. Illegal
* resized to a value which it cannot accommodate at runtime. Illegal
* runtime resizes cause an exception.
*/

View File

@ -21,7 +21,7 @@
//
// These are little PODs for special function inputs and
// expexted results for the testsuite.
// expected results for the testsuite.
//
// 5.2.1.1 Associated Laguerre polynomials.

View File

@ -1198,7 +1198,7 @@ namespace __gnu_test
try
{
// An exception while assigning might leave the container empty
// making future attemps less relevant. So we copy it before to
// making future attempts less relevant. So we copy it before to
// always assign to a non empty container. It also check for copy
// constructor exception safety at the same time.
_Tp __clone(__container);

View File

@ -255,7 +255,7 @@ template<typename _Tp>
void
linkage_check_cxx98_cxx11_erase(_Tp& container)
{
// Crashing when exteral reference and internal reference symbols are
// Crashing when external reference and internal reference symbols are
// equivalently mangled but have different size return types in C++98
// and C++11 signatures.
erase_external(container); // C++98
@ -266,7 +266,7 @@ template<typename _Tp>
void
linkage_check_cxx98_cxx11_erase_iterators(_Tp& container)
{
// Crashing when exteral reference and internal reference symbols are
// Crashing when external reference and internal reference symbols are
// equivalently mangled but have different size return types in C++98
// and C++11 signatures.
erase_external_iterators(container);// C++98

View File

@ -237,7 +237,7 @@ namespace __gnu_test
semaphore::semaphore()
{
#ifdef _GLIBCXX_SYSV_SEM
// Remeber the PID for the process that created the semaphore set
// Remember the PID for the process that created the semaphore set
// so that only one process will destroy the set.
pid_ = getpid();