[cfe-commits] [libcxx] r111763 - in /libcxx/trunk/test/re: ./ re.alg/re.alg.match/ re.alg/re.alg.search/ re.const/re.err/ re.const/re.matchflag/ re.const/re.synopt/ re.iter/re.regiter/ re.iter/re.regiter/re.regiter.cnstr/ re.iter/re.regiter/re.regiter.comp/ re.iter/re.regiter/re.regiter.deref/ re.iter/re.regiter/re.regiter.incr/ re.iter/re.tokiter/ re.iter/re.tokiter/re.tokiter.cnstr/ re.regex/re.regex.assign/ re.regex/re.regex.construct/ re.submatch/ re.submatch/re.submatch.op/ re.traits/
Howard Hinnant
hhinnant at apple.com
Sat Aug 21 17:45:01 PDT 2010
Author: hhinnant
Date: Sat Aug 21 19:45:01 2010
New Revision: 111763
URL: http://llvm.org/viewvc/llvm-project?rev=111763&view=rev
Log:
Fixing whitespace problems
Modified:
libcxx/trunk/test/re/iterators.h
libcxx/trunk/test/re/re.alg/re.alg.match/basic.pass.cpp
libcxx/trunk/test/re/re.alg/re.alg.search/basic.pass.cpp
libcxx/trunk/test/re/re.const/re.err/error_type.pass.cpp
libcxx/trunk/test/re/re.const/re.matchflag/match_flag_type.pass.cpp
libcxx/trunk/test/re/re.const/re.synopt/syntax_option_type.pass.cpp
libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.cnstr/default.pass.cpp
libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.comp/tested_elsewhere.pass.cpp
libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.deref/deref.pass.cpp
libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp
libcxx/trunk/test/re/re.iter/re.regiter/types.pass.cpp
libcxx/trunk/test/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp
libcxx/trunk/test/re/re.iter/re.tokiter/types.pass.cpp
libcxx/trunk/test/re/re.regex/re.regex.assign/assign.il.pass.cpp
libcxx/trunk/test/re/re.regex/re.regex.assign/il.pass.cpp
libcxx/trunk/test/re/re.regex/re.regex.construct/il_flg.pass.cpp
libcxx/trunk/test/re/re.submatch/re.submatch.op/compare.pass.cpp
libcxx/trunk/test/re/re.submatch/types.pass.cpp
libcxx/trunk/test/re/re.traits/iterators.h
libcxx/trunk/test/re/re.traits/transform_primary.pass.cpp
libcxx/trunk/test/re/test_allocator.h
Modified: libcxx/trunk/test/re/iterators.h
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/iterators.h?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/iterators.h (original)
+++ libcxx/trunk/test/re/iterators.h Sat Aug 21 19:45:01 2010
@@ -274,4 +274,4 @@
return x.base() - y.base();
}
-#endif
+#endif // ITERATORS_H
Modified: libcxx/trunk/test/re/re.alg/re.alg.match/basic.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.alg/re.alg.match/basic.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.alg/re.alg.match/basic.pass.cpp (original)
+++ libcxx/trunk/test/re/re.alg/re.alg.match/basic.pass.cpp Sat Aug 21 19:45:01 2010
@@ -691,7 +691,6 @@
assert(m.str(0) == s);
}
-
{
std::wcmatch m;
assert(!std::regex_match(L"a", m, std::wregex()));
Modified: libcxx/trunk/test/re/re.alg/re.alg.search/basic.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.alg/re.alg.search/basic.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.alg/re.alg.search/basic.pass.cpp (original)
+++ libcxx/trunk/test/re/re.alg/re.alg.search/basic.pass.cpp Sat Aug 21 19:45:01 2010
@@ -781,7 +781,6 @@
assert(m.str(0) == s);
}
-
{
std::wcmatch m;
assert(!std::regex_search(L"a", m, std::wregex()));
Modified: libcxx/trunk/test/re/re.const/re.err/error_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.const/re.err/error_type.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.const/re.err/error_type.pass.cpp (original)
+++ libcxx/trunk/test/re/re.const/re.err/error_type.pass.cpp Sat Aug 21 19:45:01 2010
@@ -12,7 +12,7 @@
// namespace regex_constants
// {
-//
+//
// enum error_type
// {
// error_collate = unspecified,
@@ -29,7 +29,7 @@
// error_complexity = unspecified,
// error_stack = unspecified
// };
-//
+//
// }
#include <regex>
Modified: libcxx/trunk/test/re/re.const/re.matchflag/match_flag_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.const/re.matchflag/match_flag_type.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.const/re.matchflag/match_flag_type.pass.cpp (original)
+++ libcxx/trunk/test/re/re.const/re.matchflag/match_flag_type.pass.cpp Sat Aug 21 19:45:01 2010
@@ -12,7 +12,7 @@
// namespace regex_constants
// {
-//
+//
// emum match_flag_type // bitmask type
// {
// match_default = 0,
@@ -29,7 +29,7 @@
// format_no_copy = unspecified,
// format_first_only = unspecified
// };
-//
+//
// }
#include <regex>
Modified: libcxx/trunk/test/re/re.const/re.synopt/syntax_option_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.const/re.synopt/syntax_option_type.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.const/re.synopt/syntax_option_type.pass.cpp (original)
+++ libcxx/trunk/test/re/re.const/re.synopt/syntax_option_type.pass.cpp Sat Aug 21 19:45:01 2010
@@ -12,7 +12,7 @@
// namespace regex_constants
// {
-//
+//
// emum syntax_option_type // bitmask type
// {
// icase = unspecified,
@@ -26,7 +26,7 @@
// grep = unspecified,
// egrep = unspecified
// };
-//
+//
// }
#include <regex>
Modified: libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.cnstr/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.cnstr/default.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.cnstr/default.pass.cpp (original)
+++ libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.cnstr/default.pass.cpp Sat Aug 21 19:45:01 2010
@@ -29,4 +29,4 @@
{
test<char>();
test<wchar_t>();
-}
\ No newline at end of file
+}
Modified: libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.comp/tested_elsewhere.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.comp/tested_elsewhere.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.comp/tested_elsewhere.pass.cpp (original)
+++ libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.comp/tested_elsewhere.pass.cpp Sat Aug 21 19:45:01 2010
@@ -16,4 +16,4 @@
int main()
{
-}
\ No newline at end of file
+}
Modified: libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.deref/deref.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.deref/deref.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.deref/deref.pass.cpp (original)
+++ libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.deref/deref.pass.cpp Sat Aug 21 19:45:01 2010
@@ -39,4 +39,4 @@
++i;
assert(i == std::cregex_iterator());
}
-}
\ No newline at end of file
+}
Modified: libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp (original)
+++ libcxx/trunk/test/re/re.iter/re.regiter/re.regiter.incr/post.pass.cpp Sat Aug 21 19:45:01 2010
@@ -39,4 +39,4 @@
i++;
assert(i == std::cregex_iterator());
}
-}
\ No newline at end of file
+}
Modified: libcxx/trunk/test/re/re.iter/re.regiter/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.iter/re.regiter/types.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.iter/re.regiter/types.pass.cpp (original)
+++ libcxx/trunk/test/re/re.iter/re.regiter/types.pass.cpp Sat Aug 21 19:45:01 2010
@@ -42,4 +42,4 @@
{
test<char>();
test<wchar_t>();
-}
\ No newline at end of file
+}
Modified: libcxx/trunk/test/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp (original)
+++ libcxx/trunk/test/re/re.iter/re.tokiter/re.tokiter.cnstr/init.pass.cpp Sat Aug 21 19:45:01 2010
@@ -60,5 +60,5 @@
++i;
assert(i == std::cregex_token_iterator());
}
-#endif
+#endif // _LIBCPP_MOVE
}
Modified: libcxx/trunk/test/re/re.iter/re.tokiter/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.iter/re.tokiter/types.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.iter/re.tokiter/types.pass.cpp (original)
+++ libcxx/trunk/test/re/re.iter/re.tokiter/types.pass.cpp Sat Aug 21 19:45:01 2010
@@ -42,4 +42,4 @@
{
test<char>();
test<wchar_t>();
-}
\ No newline at end of file
+}
Modified: libcxx/trunk/test/re/re.regex/re.regex.assign/assign.il.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.regex/re.regex.assign/assign.il.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.regex/re.regex.assign/assign.il.pass.cpp (original)
+++ libcxx/trunk/test/re/re.regex/re.regex.assign/assign.il.pass.cpp Sat Aug 21 19:45:01 2010
@@ -29,5 +29,5 @@
r2.assign({'(', 'a', '(', '[', 'b', 'c', ']', ')', ')'}, std::regex::extended);
assert(r2.flags() == std::regex::extended);
assert(r2.mark_count() == 2);
-#endif
+#endif // _LIBCPP_MOVE
}
Modified: libcxx/trunk/test/re/re.regex/re.regex.assign/il.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.regex/re.regex.assign/il.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.regex/re.regex.assign/il.pass.cpp (original)
+++ libcxx/trunk/test/re/re.regex/re.regex.assign/il.pass.cpp Sat Aug 21 19:45:01 2010
@@ -23,5 +23,5 @@
r2 = {'(', 'a', '(', '[', 'b', 'c', ']', ')', ')'};
assert(r2.flags() == std::regex::ECMAScript);
assert(r2.mark_count() == 2);
-#endif
+#endif // _LIBCPP_MOVE
}
Modified: libcxx/trunk/test/re/re.regex/re.regex.construct/il_flg.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.regex/re.regex.construct/il_flg.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.regex/re.regex.construct/il_flg.pass.cpp (original)
+++ libcxx/trunk/test/re/re.regex/re.regex.construct/il_flg.pass.cpp Sat Aug 21 19:45:01 2010
@@ -27,7 +27,7 @@
assert(r.mark_count() == mc);
}
-#endif
+#endif // _LIBCPP_MOVE
int main()
{
@@ -66,5 +66,5 @@
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
}
Modified: libcxx/trunk/test/re/re.submatch/re.submatch.op/compare.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.submatch/re.submatch.op/compare.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.submatch/re.submatch.op/compare.pass.cpp (original)
+++ libcxx/trunk/test/re/re.submatch/re.submatch.op/compare.pass.cpp Sat Aug 21 19:45:01 2010
@@ -14,200 +14,200 @@
// template <class BiIter>
// bool
// operator==(const sub_match<BiIter>& lhs, const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator!=(const sub_match<BiIter>& lhs, const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator<(const sub_match<BiIter>& lhs, const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator<=(const sub_match<BiIter>& lhs, const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator>=(const sub_match<BiIter>& lhs, const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator>(const sub_match<BiIter>& lhs, const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter, class ST, class SA>
// bool
// operator==(const basic_string<typename iterator_traits<BiIter>::value_type, ST, SA>& lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter, class ST, class SA>
// bool
// operator!=(const basic_string<typename iterator_traits<BiIter>::value_type, ST, SA>& lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter, class ST, class SA>
// bool
// operator<(const basic_string<typename iterator_traits<BiIter>::value_type, ST, SA>& lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter, class ST, class SA>
// bool
// operator>(const basic_string<typename iterator_traits<BiIter>::value_type, ST, SA>& lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter, class ST, class SA>
// bool operator>=(const basic_string<typename iterator_traits<BiIter>::value_type, ST, SA>& lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter, class ST, class SA>
// bool
// operator<=(const basic_string<typename iterator_traits<BiIter>::value_type, ST, SA>& lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter, class ST, class SA>
// bool
// operator==(const sub_match<BiIter>& lhs,
// const basic_string<typename iterator_traits<BiIter>::value_type, ST, SA>& rhs);
-//
+//
// template <class BiIter, class ST, class SA>
// bool
// operator!=(const sub_match<BiIter>& lhs,
// const basic_string<typename iterator_traits<BiIter>::value_type, ST, SA>& rhs);
-//
+//
// template <class BiIter, class ST, class SA>
// bool
// operator<(const sub_match<BiIter>& lhs,
// const basic_string<typename iterator_traits<BiIter>::value_type, ST, SA>& rhs);
-//
+//
// template <class BiIter, class ST, class SA>
// bool operator>(const sub_match<BiIter>& lhs,
// const basic_string<typename iterator_traits<BiIter>::value_type, ST, SA>& rhs);
-//
+//
// template <class BiIter, class ST, class SA>
// bool
// operator>=(const sub_match<BiIter>& lhs,
// const basic_string<typename iterator_traits<BiIter>::value_type, ST, SA>& rhs);
-//
+//
// template <class BiIter, class ST, class SA>
// bool
// operator<=(const sub_match<BiIter>& lhs,
// const basic_string<typename iterator_traits<BiIter>::value_type, ST, SA>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator==(typename iterator_traits<BiIter>::value_type const* lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator!=(typename iterator_traits<BiIter>::value_type const* lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator<(typename iterator_traits<BiIter>::value_type const* lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator>(typename iterator_traits<BiIter>::value_type const* lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator>=(typename iterator_traits<BiIter>::value_type const* lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator<=(typename iterator_traits<BiIter>::value_type const* lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator==(const sub_match<BiIter>& lhs,
// typename iterator_traits<BiIter>::value_type const* rhs);
-//
+//
// template <class BiIter>
// bool
// operator!=(const sub_match<BiIter>& lhs,
// typename iterator_traits<BiIter>::value_type const* rhs);
-//
+//
// template <class BiIter>
// bool
// operator<(const sub_match<BiIter>& lhs,
// typename iterator_traits<BiIter>::value_type const* rhs);
-//
+//
// template <class BiIter>
// bool
// operator>(const sub_match<BiIter>& lhs,
// typename iterator_traits<BiIter>::value_type const* rhs);
-//
+//
// template <class BiIter>
// bool
// operator>=(const sub_match<BiIter>& lhs,
// typename iterator_traits<BiIter>::value_type const* rhs);
-//
+//
// template <class BiIter>
// bool
// operator<=(const sub_match<BiIter>& lhs,
// typename iterator_traits<BiIter>::value_type const* rhs);
-//
+//
// template <class BiIter>
// bool
// operator==(typename iterator_traits<BiIter>::value_type const& lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator!=(typename iterator_traits<BiIter>::value_type const& lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator<(typename iterator_traits<BiIter>::value_type const& lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator>(typename iterator_traits<BiIter>::value_type const& lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator>=(typename iterator_traits<BiIter>::value_type const& lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator<=(typename iterator_traits<BiIter>::value_type const& lhs,
// const sub_match<BiIter>& rhs);
-//
+//
// template <class BiIter>
// bool
// operator==(const sub_match<BiIter>& lhs,
// typename iterator_traits<BiIter>::value_type const& rhs);
-//
+//
// template <class BiIter>
// bool
// operator!=(const sub_match<BiIter>& lhs,
// typename iterator_traits<BiIter>::value_type const& rhs);
-//
+//
// template <class BiIter>
// bool
// operator<(const sub_match<BiIter>& lhs,
// typename iterator_traits<BiIter>::value_type const& rhs);
-//
+//
// template <class BiIter>
// bool
// operator>(const sub_match<BiIter>& lhs,
// typename iterator_traits<BiIter>::value_type const& rhs);
-//
+//
// template <class BiIter>
// bool
// operator>=(const sub_match<BiIter>& lhs,
// typename iterator_traits<BiIter>::value_type const& rhs);
-//
+//
// template <class BiIter>
// bool
// operator<=(const sub_match<BiIter>& lhs,
Modified: libcxx/trunk/test/re/re.submatch/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.submatch/types.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.submatch/types.pass.cpp (original)
+++ libcxx/trunk/test/re/re.submatch/types.pass.cpp Sat Aug 21 19:45:01 2010
@@ -18,7 +18,7 @@
// typedef typename iterator_traits<iterator>::value_type value_type;
// typedef typename iterator_traits<iterator>::difference_type difference_type;
// typedef basic_string<value_type> string_type;
-//
+//
// bool matched;
// ...
// };
Modified: libcxx/trunk/test/re/re.traits/iterators.h
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.traits/iterators.h?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.traits/iterators.h (original)
+++ libcxx/trunk/test/re/re.traits/iterators.h Sat Aug 21 19:45:01 2010
@@ -248,4 +248,4 @@
return x.base() - y.base();
}
-#endif
+#endif // ITERATORS_H
Modified: libcxx/trunk/test/re/re.traits/transform_primary.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.traits/transform_primary.pass.cpp?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.traits/transform_primary.pass.cpp (original)
+++ libcxx/trunk/test/re/re.traits/transform_primary.pass.cpp Sat Aug 21 19:45:01 2010
@@ -27,7 +27,7 @@
const char A[] = "A";
const char Aacute[] = "\xC1";
typedef forward_iterator<const char*> F;
- assert(t.transform_primary(F(A), F(A+1)) !=
+ assert(t.transform_primary(F(A), F(A+1)) !=
t.transform_primary(F(Aacute), F(Aacute+1)));
t.imbue(std::locale("cs_CZ.ISO8859-2"));
assert(t.transform_primary(F(A), F(A+1)) ==
Modified: libcxx/trunk/test/re/test_allocator.h
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/test_allocator.h?rev=111763&r1=111762&r2=111763&view=diff
==============================================================================
--- libcxx/trunk/test/re/test_allocator.h (original)
+++ libcxx/trunk/test/re/test_allocator.h Sat Aug 21 19:45:01 2010
@@ -62,7 +62,7 @@
#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 @@
#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
More information about the cfe-commits
mailing list