diff mbox series

Uglify names in pstl/execution_defs.h

Message ID xkqek1fjf4hu.fsf@trodgers.remote.f27
State New
Headers show
Series Uglify names in pstl/execution_defs.h | expand

Commit Message

Thomas Rodgers April 24, 2019, 10 p.m. UTC
Missed in prior uglification passes.

	* include/pstl/execution_defs.h:
	Uglfiy inline namespace.
	Uglify ExecPolicy and T template parameters.

Comments

Jonathan Wakely April 24, 2019, 10:11 p.m. UTC | #1
On 24/04/19 15:00 -0700, Thomas Rodgers wrote:
>        Missed in prior uglification passes.
>
>	* include/pstl/execution_defs.h:
>	Uglfiy inline namespace.

s/Uglfiy/Uglify

>	Uglify ExecPolicy and T template parameters.

The ChangeLog entry should be formatted without that first line break:

	* include/pstl/execution_defs.h: Uglify inline namespace.
	Uglify ExecPolicy and T template parameters.

OK for trunk like that, thanks.
diff mbox series

Patch

From 07d15a71f60d9dec58882f9cfbf80e4b1ed043f3 Mon Sep 17 00:00:00 2001
From: Thomas Rodgers <trodgers@redhat.com>
Date: Wed, 24 Apr 2019 14:57:26 -0700
Subject: [PATCH] Uglify names in pstl/execution_defs.h

        Missed in prior uglification passes.

	* include/pstl/execution_defs.h:
	Uglfiy inline namespace.
	Uglify ExecPolicy and T template parameters.
---
 libstdc++-v3/include/pstl/execution_defs.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/libstdc++-v3/include/pstl/execution_defs.h b/libstdc++-v3/include/pstl/execution_defs.h
index 9a4b49bd46a..86c7a5a770d 100644
--- a/libstdc++-v3/include/pstl/execution_defs.h
+++ b/libstdc++-v3/include/pstl/execution_defs.h
@@ -16,7 +16,7 @@  namespace __pstl
 {
 namespace execution
 {
-inline namespace v1
+inline namespace __v1
 {
 
 // 2.4, Sequential execution policy
@@ -117,7 +117,7 @@  constexpr parallel_unsequenced_policy par_unseq{};
 constexpr unsequenced_policy unseq{};
 
 // 2.3, Execution policy type trait
-template <class T>
+template <class _T>
 struct is_execution_policy : std::false_type
 {
 };
@@ -142,8 +142,8 @@  struct is_execution_policy<__pstl::execution::unsequenced_policy> : std::true_ty
 };
 
 #if __PSTL_CPP14_VARIABLE_TEMPLATES_PRESENT
-template <class T>
-constexpr bool is_execution_policy_v = __pstl::execution::is_execution_policy<T>::value;
+template <class _T>
+constexpr bool is_execution_policy_v = __pstl::execution::is_execution_policy<_T>::value;
 #endif
 
 } // namespace v1
@@ -151,10 +151,10 @@  constexpr bool is_execution_policy_v = __pstl::execution::is_execution_policy<T>
 
 namespace __internal
 {
-template <class ExecPolicy, class T>
+template <class _ExecPolicy, class _T>
 using __enable_if_execution_policy =
-    typename std::enable_if<__pstl::execution::is_execution_policy<typename std::decay<ExecPolicy>::type>::value,
-                            T>::type;
+    typename std::enable_if<__pstl::execution::is_execution_policy<typename std::decay<_ExecPolicy>::type>::value,
+                            _T>::type;
 } // namespace __internal
 
 } // namespace __pstl
-- 
2.20.1