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:
Howard Hinnant
2010-08-22 00:47:54 +00:00
parent bbd8086ee3
commit 6e0a1f458e
105 changed files with 182 additions and 182 deletions

View File

@@ -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>

View File

@@ -28,5 +28,5 @@ int main()
s = {L'a', L'b', L'c'};
assert(s == L"abc");
}
#endif
#endif // _LIBCPP_MOVE
}

View File

@@ -22,5 +22,5 @@ int main()
s = {'a', 'b', 'c'};
assert(s == "abc");
}
#endif
#endif // _LIBCPP_MOVE
}

View File

@@ -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>

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -9,7 +9,7 @@
// <string>
// basic_string<charT,traits,Allocator>&
// basic_string<charT,traits,Allocator>&
// operator=(const charT* s);
#include <string>

View File

@@ -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>