diff options
| author | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2017-08-11 20:53:53 +0000 |
|---|---|---|
| committer | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2017-08-11 20:53:53 +0000 |
| commit | aae63566dc6b33da741364dec97fd7f34d5efb3a (patch) | |
| tree | 738e4f26d5347cb31b0479081376c06a78d4a19e /libcxx/test/std/iterators/iterator.primitives | |
| parent | be7e0013695c1efcb84a9fdc7127ef155f6c9503 (diff) | |
| download | bcm5719-llvm-aae63566dc6b33da741364dec97fd7f34d5efb3a.tar.gz bcm5719-llvm-aae63566dc6b33da741364dec97fd7f34d5efb3a.zip | |
[libcxx] [test] Rename _Tp to T. NFCI.
This improves readability and (theoretically) improves portability,
as _Ugly names are reserved.
llvm-svn: 310758
Diffstat (limited to 'libcxx/test/std/iterators/iterator.primitives')
| -rw-r--r-- | libcxx/test/std/iterators/iterator.primitives/iterator.traits/empty.pass.cpp | 4 |
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 e48e44b3777..57d4a3834a0 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 @@ -20,7 +20,7 @@ struct not_an_iterator { }; -template <class _Tp> +template <class T> struct has_value_type { private: @@ -28,7 +28,7 @@ private: template <class _Up> static two test(...); template <class _Up> static char test(typename _Up::value_type* = 0); public: - static const bool value = sizeof(test<_Tp>(0)) == 1; + static const bool value = sizeof(test<T>(0)) == 1; }; int main() |

