[libcxx] [test] Rename _Tp to T. NFCI.

This improves readability and (theoretically) improves portability,
as _Ugly names are reserved.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@310758 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Stephan T. Lavavej
2017-08-11 20:53:53 +00:00
parent 3b53fabd8f
commit 302557b724
24 changed files with 80 additions and 80 deletions

View File

@@ -22,13 +22,13 @@
#define RTTI_ASSERT(X)
#endif
template <class _Tp>
template <class T>
struct IsSmallObject
: public std::integral_constant<bool
, sizeof(_Tp) <= (sizeof(void*)*3)
, sizeof(T) <= (sizeof(void*)*3)
&& std::alignment_of<void*>::value
% std::alignment_of<_Tp>::value == 0
&& std::is_nothrow_move_constructible<_Tp>::value
% std::alignment_of<T>::value == 0
&& std::is_nothrow_move_constructible<T>::value
>
{};