Fixing whitespace problems
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111764 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
// <string>
|
||||
|
||||
// basic_string<charT,traits,Allocator>&
|
||||
// basic_string<charT,traits,Allocator>&
|
||||
// operator=(const basic_string<charT,traits,Allocator>& str);
|
||||
|
||||
#include <string>
|
||||
|
@@ -28,5 +28,5 @@ int main()
|
||||
s = {L'a', L'b', L'c'};
|
||||
assert(s == L"abc");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -22,5 +22,5 @@ int main()
|
||||
s = {'a', 'b', 'c'};
|
||||
assert(s == "abc");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -9,8 +9,8 @@
|
||||
|
||||
// <string>
|
||||
|
||||
// template<class InputIterator>
|
||||
// basic_string(InputIterator begin, InputIterator end,
|
||||
// template<class InputIterator>
|
||||
// basic_string(InputIterator begin, InputIterator end,
|
||||
// const Allocator& a = Allocator());
|
||||
|
||||
#include <string>
|
||||
|
@@ -31,7 +31,7 @@ test(S s0)
|
||||
assert(s2.get_allocator() == s1.get_allocator());
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -41,5 +41,5 @@ int main()
|
||||
test(S(A(3)));
|
||||
test(S("1", A(5)));
|
||||
test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A(7)));
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -31,7 +31,7 @@ test(S s0, const typename S::allocator_type& a)
|
||||
assert(s2.get_allocator() == a);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -41,5 +41,5 @@ int main()
|
||||
test(S(), A(3));
|
||||
test(S("1"), A(5));
|
||||
test(S("1234567890123456789012345678901234567890123456789012345678901234567890"), A(7));
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -9,7 +9,7 @@
|
||||
|
||||
// <string>
|
||||
|
||||
// basic_string<charT,traits,Allocator>&
|
||||
// basic_string<charT,traits,Allocator>&
|
||||
// operator=(basic_string<charT,traits,Allocator>&& str);
|
||||
|
||||
#include <string>
|
||||
@@ -31,7 +31,7 @@ test(S s1, S s2)
|
||||
assert(s1.capacity() >= s1.size());
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -52,5 +52,5 @@ int main()
|
||||
test(S("1234567890123456789012345678901234567890123456789012345678901234567890"
|
||||
"1234567890123456789012345678901234567890123456789012345678901234567890"),
|
||||
S("abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz"));
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -9,7 +9,7 @@
|
||||
|
||||
// <string>
|
||||
|
||||
// basic_string<charT,traits,Allocator>&
|
||||
// basic_string<charT,traits,Allocator>&
|
||||
// operator=(const charT* s);
|
||||
|
||||
#include <string>
|
||||
|
@@ -9,8 +9,8 @@
|
||||
|
||||
// <string>
|
||||
|
||||
// basic_string(const basic_string<charT,traits,Allocator>& str,
|
||||
// size_type pos, size_type n = npos,
|
||||
// basic_string(const basic_string<charT,traits,Allocator>& str,
|
||||
// size_type pos, size_type n = npos,
|
||||
// const Allocator& a = Allocator());
|
||||
|
||||
#include <string>
|
||||
|
Reference in New Issue
Block a user