[libcxx] [test] Fix comment typos.
No functional change, no code review. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@294160 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -129,7 +129,7 @@ private:
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
// DerivedFromBase - A type that derives from it's template argument 'Base'
|
||||
// DerivedFromBase - A type that derives from its template argument 'Base'
|
||||
template <class Base>
|
||||
struct DerivedFromType : public Base {
|
||||
DerivedFromType() : Base() {}
|
||||
@@ -138,7 +138,7 @@ struct DerivedFromType : public Base {
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
// DerefToType - A type that dereferences to it's template argument 'To'.
|
||||
// DerefToType - A type that dereferences to its template argument 'To'.
|
||||
// The cv-ref qualifiers of the 'DerefToType' object do not propagate
|
||||
// to the resulting 'To' object.
|
||||
template <class To>
|
||||
@@ -154,7 +154,7 @@ struct DerefToType {
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
// DerefPropToType - A type that dereferences to it's template argument 'To'.
|
||||
// DerefPropToType - A type that dereferences to its template argument 'To'.
|
||||
// The cv-ref qualifiers of the 'DerefPropToType' object propagate
|
||||
// to the resulting 'To' object.
|
||||
template <class To>
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
#include <type_traits>
|
||||
|
||||
// system_clock is used because it meets the requirements of TrivialClock,
|
||||
// and it's resolution and range of system_clock should match the operating
|
||||
// systems file time type.
|
||||
// and the resolution and range of system_clock should match the operating
|
||||
// system's file time type.
|
||||
typedef std::chrono::system_clock ExpectedClock;
|
||||
typedef std::chrono::time_point<ExpectedClock> ExpectedTimePoint;
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ constexpr bool do_constexpr_test(Tuple&& tup) {
|
||||
return std::make_from_tuple<Tp>(std::forward<Tuple>(tup)).args == tup;
|
||||
}
|
||||
|
||||
// Needed by do_forwarding_test() since it compare pairs of different types.
|
||||
// Needed by do_forwarding_test() since it compares pairs of different types.
|
||||
template <class T1, class T2, class U1, class U2>
|
||||
inline bool operator==(const std::pair<T1, T2>& lhs, const std::pair<U1, U2>& rhs) {
|
||||
return lhs.first == rhs.first && lhs.second == rhs.second;
|
||||
|
||||
@@ -96,7 +96,7 @@ int main()
|
||||
}
|
||||
{
|
||||
// Test that the uses-allocator default constructor does not evaluate
|
||||
// it's SFINAE when it otherwise shouldn't be selected. Do this by
|
||||
// its SFINAE when it otherwise shouldn't be selected. Do this by
|
||||
// using 'NonDefaultConstructible' which will cause a compile error
|
||||
// if std::is_default_constructible is evaluated on it.
|
||||
using T = NonDefaultConstructible<>;
|
||||
|
||||
Reference in New Issue
Block a user