summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/iterators
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/iterators
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/iterators')
-rw-r--r--libcxx/test/std/iterators/iterator.primitives/iterator.traits/empty.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/iterators/iterator.primitives/iterator.traits/empty.pass.cpp b/libcxx/test/std/iterators/iterator.primitives/iterator.traits/empty.pass.cpp
index 57d4a3834a0..179e5e762a9 100644
--- a/libcxx/test/std/iterators/iterator.primitives/iterator.traits/empty.pass.cpp
+++ b/libcxx/test/std/iterators/iterator.primitives/iterator.traits/empty.pass.cpp
@@ -25,8 +25,8 @@ struct has_value_type
{
private:
struct two {char lx; char lxx;};
- template <class _Up> static two test(...);
- template <class _Up> static char test(typename _Up::value_type* = 0);
+ template <class U> static two test(...);
+ template <class U> static char test(typename U::value_type* = 0);
public:
static const bool value = sizeof(test<T>(0)) == 1;
};
OpenPOWER on IntegriCloud