From 709be5eef2b5cf6f8483ae74c328de153438dd52 Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Fri, 11 Aug 2017 20:54:09 +0000 Subject: [libcxx] [test] Rename _Up to U, etc. NFCI. This improves readability and (theoretically) improves portability, as _Ugly names are reserved. This performs additional de-uglification, so all of these tests follow the example of iterator.traits/empty.pass.cpp. llvm-svn: 310761 --- .../utilities/function.objects/comparisons/transparent.pass.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libcxx/test/std/utilities/function.objects/comparisons/transparent.pass.cpp') diff --git a/libcxx/test/std/utilities/function.objects/comparisons/transparent.pass.cpp b/libcxx/test/std/utilities/function.objects/comparisons/transparent.pass.cpp index 40b0f5e0752..ebae262b242 100644 --- a/libcxx/test/std/utilities/function.objects/comparisons/transparent.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/comparisons/transparent.pass.cpp @@ -15,11 +15,11 @@ template struct is_transparent { private: - struct __two {char __lx; char __lxx;}; - template static __two __test(...); - template static char __test(typename _Up::is_transparent* = 0); + struct two {char lx; char lxx;}; + template static two test(...); + template static char test(typename U::is_transparent* = 0); public: - static const bool value = sizeof(__test(0)) == 1; + static const bool value = sizeof(test(0)) == 1; }; -- cgit v1.2.3