Fixing whitespace problems
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111763 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0e20cae1a5
commit
bbd8086ee3
@ -274,4 +274,4 @@ operator-(const random_access_iterator<T>& x, const random_access_iterator<U>& y
|
||||
return x.base() - y.base();
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // ITERATORS_H
|
||||
|
@ -691,7 +691,6 @@ int main()
|
||||
assert(m.str(0) == s);
|
||||
}
|
||||
|
||||
|
||||
{
|
||||
std::wcmatch m;
|
||||
assert(!std::regex_match(L"a", m, std::wregex()));
|
||||
|
@ -781,7 +781,6 @@ int main()
|
||||
assert(m.str(0) == s);
|
||||
}
|
||||
|
||||
|
||||
{
|
||||
std::wcmatch m;
|
||||
assert(!std::regex_search(L"a", m, std::wregex()));
|
||||
|
@ -60,5 +60,5 @@ int main()
|
||||
++i;
|
||||
assert(i == std::cregex_token_iterator());
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@ -29,5 +29,5 @@ int main()
|
||||
r2.assign({'(', 'a', '(', '[', 'b', 'c', ']', ')', ')'}, std::regex::extended);
|
||||
assert(r2.flags() == std::regex::extended);
|
||||
assert(r2.mark_count() == 2);
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@ -23,5 +23,5 @@ int main()
|
||||
r2 = {'(', 'a', '(', '[', 'b', 'c', ']', ')', ')'};
|
||||
assert(r2.flags() == std::regex::ECMAScript);
|
||||
assert(r2.mark_count() == 2);
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ test(std::initializer_list<char> il, std::regex_constants::syntax_option_type f,
|
||||
assert(r.mark_count() == mc);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@ -66,5 +66,5 @@ int main()
|
||||
test({'\\', '(', 'a', '[', 'b', 'c', ']', '\\', ')'}, std::regex_constants::egrep, 0);
|
||||
test({'\\', '(', 'a', '\\', '(', '[', 'b', 'c', ']', '\\', ')', '\\', ')'}, std::regex_constants::egrep, 0);
|
||||
test({'(', 'a', '(', '[', 'b', 'c', ']', ')', ')'}, std::regex_constants::egrep, 2);
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@ -248,4 +248,4 @@ operator-(const random_access_iterator<T>& x, const random_access_iterator<U>& y
|
||||
return x.base() - y.base();
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // ITERATORS_H
|
||||
|
@ -62,7 +62,7 @@ public:
|
||||
#ifdef _LIBCPP_MOVE
|
||||
void construct(pointer p, T&& val)
|
||||
{::new(p) T(std::move(val));}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
void destroy(pointer p) {p->~T();}
|
||||
|
||||
friend bool operator==(const test_allocator& x, const test_allocator& y)
|
||||
@ -105,8 +105,8 @@ public:
|
||||
#ifdef _LIBCPP_HAS_NO_ADVANCED_SFINAE
|
||||
std::size_t max_size() const
|
||||
{return UINT_MAX / sizeof(T);}
|
||||
#endif
|
||||
#endif // _LIBCPP_HAS_NO_ADVANCED_SFINAE
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // TEST_ALLOCATOR_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user