summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/function.objects/comparisons/transparent.pass.cpp
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@exchange.microsoft.com>2017-08-11 20:54:09 +0000
committerStephan T. Lavavej <stl@exchange.microsoft.com>2017-08-11 20:54:09 +0000
commit709be5eef2b5cf6f8483ae74c328de153438dd52 (patch)
tree8bf215ee53a8d3e31ba1fa506bed769190195a78 /libcxx/test/std/utilities/function.objects/comparisons/transparent.pass.cpp
parented76ab3f1cf33bc6d46d7b767fc40b8c556bc62b (diff)
downloadbcm5719-llvm-709be5eef2b5cf6f8483ae74c328de153438dd52.tar.gz
bcm5719-llvm-709be5eef2b5cf6f8483ae74c328de153438dd52.zip
[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
Diffstat (limited to 'libcxx/test/std/utilities/function.objects/comparisons/transparent.pass.cpp')
-rw-r--r--libcxx/test/std/utilities/function.objects/comparisons/transparent.pass.cpp8
1 files changed, 4 insertions, 4 deletions
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 <class T>
struct is_transparent
{
private:
- struct __two {char __lx; char __lxx;};
- template <class _Up> static __two __test(...);
- template <class _Up> static char __test(typename _Up::is_transparent* = 0);
+ struct two {char lx; char lxx;};
+ template <class U> static two test(...);
+ template <class U> static char test(typename U::is_transparent* = 0);
public:
- static const bool value = sizeof(__test<T>(0)) == 1;
+ static const bool value = sizeof(test<T>(0)) == 1;
};
OpenPOWER on IntegriCloud