Commit ed3eaab8 by Andrew Pinski Committed by Andrew Pinski

deallocate_global-2.c: s/value_t/value_type/.

2004-10-23  Andrew Pinski  <pinskia@physics.uc.edu>

        * testsuite/ext/mt_allocator/deallocate_global-2.c:
        s/value_t/value_type/. s/traits_t/traits_type/.
        s/policy_t/policy_type/. s/allocator_t/allocator_type/.
        s/string_t/string_type/. s/list_t/list_type/.
        * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
        * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
        * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
        * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
        * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
        * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
        * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.

From-SVN: r89493
parent 66174cd0
2004-10-23 Andrew Pinski <pinskia@physics.uc.edu>
* testsuite/ext/mt_allocator/deallocate_global-2.c:
s/value_t/value_type/. s/traits_t/traits_type/.
s/policy_t/policy_type/. s/allocator_t/allocator_type/.
s/string_t/string_type/. s/list_t/list_type/.
* testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
2004-10-21 Benjamin Kosnik <bkoz@redhat.com> 2004-10-21 Benjamin Kosnik <bkoz@redhat.com>
* include/tr1/array (array): Make safe for zero-sized arrays. * include/tr1/array (array): Make safe for zero-sized arrays.
......
...@@ -66,14 +66,14 @@ void operator delete(void* p) throw() ...@@ -66,14 +66,14 @@ void operator delete(void* p) throw()
free(p); free(p);
} }
typedef std::string value_t; typedef std::string value_type;
typedef __gnu_cxx::__common_pool_policy<false> policy_t; typedef __gnu_cxx::__common_pool_policy<false> policy_type;
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t; typedef __gnu_cxx::__mt_alloc<value_type, policy_type> allocator_type;
typedef std::char_traits<value_t> traits_t; typedef std::char_traits<value_type> traits_type;
typedef std::list<value_t, allocator_t> list_t; typedef std::list<value_type, allocator_type> list_type;
// Second. // Second.
list_t l; list_type l;
int main() int main()
{ {
......
...@@ -67,13 +67,13 @@ void operator delete(void* p) throw() ...@@ -67,13 +67,13 @@ void operator delete(void* p) throw()
} }
typedef std::string value_t; typedef std::string value_t;
typedef __gnu_cxx::__per_type_pool_policy<value_t, false> policy_t; typedef __gnu_cxx::__per_type_pool_policy<value_t, false> policy_type;
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t; typedef __gnu_cxx::__mt_alloc<value_t, policy_type> allocator_type;
typedef std::char_traits<value_t> traits_t; typedef std::char_traits<value_t> traits_type;
typedef std::list<value_t, allocator_t> list_t; typedef std::list<value_t, allocator_type> list_type;
// Second. // Second.
list_t l; list_type l;
int main() int main()
{ {
......
...@@ -66,14 +66,14 @@ void operator delete(void* p) throw() ...@@ -66,14 +66,14 @@ void operator delete(void* p) throw()
free(p); free(p);
} }
typedef std::string value_t; typedef std::string value_type;
typedef __gnu_cxx::__common_pool_policy<true> policy_t; typedef __gnu_cxx::__common_pool_policy<true> policy_type;
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t; typedef __gnu_cxx::__mt_alloc<value_type, policy_type> allocator_type;
typedef std::char_traits<value_t> traits_t; typedef std::char_traits<value_type> traits_type;
typedef std::list<value_t, allocator_t> list_t; typedef std::list<value_type, allocator_type> list_type;
// Second. // Second.
list_t l; list_type l;
int main() int main()
{ {
......
...@@ -66,14 +66,14 @@ void operator delete(void* p) throw() ...@@ -66,14 +66,14 @@ void operator delete(void* p) throw()
free(p); free(p);
} }
typedef std::string value_t; typedef std::string value_type;
typedef __gnu_cxx::__per_type_pool_policy<value_t, true> policy_t; typedef __gnu_cxx::__per_type_pool_policy<value_type, true> policy_type;
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t; typedef __gnu_cxx::__mt_alloc<value_type, policy_type> allocator_type;
typedef std::char_traits<value_t> traits_t; typedef std::char_traits<value_type> traits_type;
typedef std::list<value_t, allocator_t> list_t; typedef std::list<value_type, allocator_type> list_type;
// Second. // Second.
list_t l; list_type l;
int main() int main()
{ {
......
...@@ -64,17 +64,17 @@ void operator delete(void* p) throw() ...@@ -64,17 +64,17 @@ void operator delete(void* p) throw()
free(p); free(p);
} }
typedef char value_t; typedef char value_type;
typedef std::char_traits<value_t> traits_t; typedef std::char_traits<value_type> traits_type;
typedef __gnu_cxx::__common_pool_policy<false> policy_t; typedef __gnu_cxx::__common_pool_policy<false> policy_type;
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t; typedef __gnu_cxx::__mt_alloc<value_type, policy_type> allocator_type;
typedef std::basic_string<value_t, traits_t, allocator_t> string_t; typedef std::basic_string<value_type, traits_type, allocator_type> string_type;
int main() int main()
{ {
bool test __attribute__((unused)) = true; bool test __attribute__((unused)) = true;
{ {
string_t s; string_type s;
s += "bayou bend"; s += "bayou bend";
} }
return 0; return 0;
......
...@@ -64,17 +64,17 @@ void operator delete(void* p) throw() ...@@ -64,17 +64,17 @@ void operator delete(void* p) throw()
free(p); free(p);
} }
typedef char value_t; typedef char value_type;
typedef std::char_traits<value_t> traits_t; typedef std::char_traits<value_type> traits_type;
typedef __gnu_cxx::__per_type_pool_policy<value_t, false> policy_t; typedef __gnu_cxx::__per_type_pool_policy<value_type, false> policy_type;
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t; typedef __gnu_cxx::__mt_alloc<value_type, policy_type> allocator_type;
typedef std::basic_string<value_t, traits_t, allocator_t> string_t; typedef std::basic_string<value_type, traits_type, allocator_type> string_type;
int main() int main()
{ {
bool test __attribute__((unused)) = true; bool test __attribute__((unused)) = true;
{ {
string_t s; string_type s;
s += "bayou bend"; s += "bayou bend";
} }
return 0; return 0;
......
...@@ -64,17 +64,17 @@ void operator delete(void* p) throw() ...@@ -64,17 +64,17 @@ void operator delete(void* p) throw()
free(p); free(p);
} }
typedef char value_t; typedef char value_type;
typedef std::char_traits<value_t> traits_t; typedef std::char_traits<value_type> traits_type;
typedef __gnu_cxx::__common_pool_policy<true> policy_t; typedef __gnu_cxx::__common_pool_policy<true> policy_type;
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t; typedef __gnu_cxx::__mt_alloc<value_type, policy_type> allocator_type;
typedef std::basic_string<value_t, traits_t, allocator_t> string_t; typedef std::basic_string<value_type, traits_type, allocator_type> string_type;
int main() int main()
{ {
bool test __attribute__((unused)) = true; bool test __attribute__((unused)) = true;
{ {
string_t s; string_type s;
s += "bayou bend"; s += "bayou bend";
} }
return 0; return 0;
......
...@@ -64,17 +64,17 @@ void operator delete(void* p) throw() ...@@ -64,17 +64,17 @@ void operator delete(void* p) throw()
free(p); free(p);
} }
typedef char value_t; typedef char value_type;
typedef std::char_traits<value_t> traits_t; typedef std::char_traits<value_type> traits_type;
typedef __gnu_cxx::__per_type_pool_policy<value_t, true> policy_t; typedef __gnu_cxx::__per_type_pool_policy<value_type, true> policy_type;
typedef __gnu_cxx::__mt_alloc<value_t, policy_t> allocator_t; typedef __gnu_cxx::__mt_alloc<value_type, policy_type> allocator_type;
typedef std::basic_string<value_t, traits_t, allocator_t> string_t; typedef std::basic_string<value_type, traits_type, allocator_type> string_type;
int main() int main()
{ {
bool test __attribute__((unused)) = true; bool test __attribute__((unused)) = true;
{ {
string_t s; string_type s;
s += "bayou bend"; s += "bayou bend";
} }
return 0; return 0;
......
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