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,11 +9,11 @@
// <string>
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>
// operator+(charT lhs, const basic_string<charT,traits,Allocator>& rhs);
// template<class charT, class traits, class Allocator>
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>&&
// operator+(charT lhs, basic_string<charT,traits,Allocator>&& rhs);
@@ -36,7 +36,7 @@ test1(typename S::value_type lhs, S&& rhs, const S& x)
assert(lhs + move(rhs) == x);
}
#endif
#endif // _LIBCPP_MOVE
typedef std::string S;
@@ -54,5 +54,5 @@ int main()
test1('a', S("1234567890"), S("a1234567890"));
test1('a', S("12345678901234567890"), S("a12345678901234567890"));
#endif
#endif // _LIBCPP_MOVE
}

View File

@@ -9,11 +9,11 @@
// <string>
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>
// operator+(const charT* lhs, const basic_string<charT,traits,Allocator>& rhs);
// template<class charT, class traits, class Allocator>
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>&&
// operator+(const charT* lhs, basic_string<charT,traits,Allocator>&& rhs);
@@ -36,7 +36,7 @@ test1(const typename S::value_type* lhs, S&& rhs, const S& x)
assert(lhs + move(rhs) == x);
}
#endif
#endif // _LIBCPP_MOVE
typedef std::string S;
@@ -78,5 +78,5 @@ int main()
test1("abcdefghijklmnopqrst", S("1234567890"), S("abcdefghijklmnopqrst1234567890"));
test1("abcdefghijklmnopqrst", S("12345678901234567890"), S("abcdefghijklmnopqrst12345678901234567890"));
#endif
#endif // _LIBCPP_MOVE
}

View File

@@ -9,11 +9,11 @@
// <string>
// template<class charT, class traits, class Allocator>
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>
// operator+(const basic_string<charT,traits,Allocator>& lhs, charT rhs);
// template<class charT, class traits, class Allocator>
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>&&
// operator+(basic_string<charT,traits,Allocator>&& lhs, charT rhs);
@@ -36,7 +36,7 @@ test1(S&& lhs, typename S::value_type rhs, const S& x)
assert(move(lhs) + rhs == x);
}
#endif
#endif // _LIBCPP_MOVE
typedef std::string S;
@@ -54,5 +54,5 @@ int main()
test1(S("abcdefghij"), '1', S("abcdefghij1"));
test1(S("abcdefghijklmnopqrst"), '1', S("abcdefghijklmnopqrst1"));
#endif
#endif // _LIBCPP_MOVE
}

View File

@@ -9,11 +9,11 @@
// <string>
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>
// operator+(const basic_string<charT,traits,Allocator>& lhs, const charT* rhs);
// template<class charT, class traits, class Allocator>
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>&&
// operator+(basic_string<charT,traits,Allocator>&& lhs, const charT* rhs);
@@ -36,7 +36,7 @@ test1(S&& lhs, const typename S::value_type* rhs, const S& x)
assert(move(lhs) + rhs == x);
}
#endif
#endif // _LIBCPP_MOVE
typedef std::string S;
@@ -78,5 +78,5 @@ int main()
test1(S("abcdefghijklmnopqrst"), "1234567890", S("abcdefghijklmnopqrst1234567890"));
test1(S("abcdefghijklmnopqrst"), "12345678901234567890", S("abcdefghijklmnopqrst12345678901234567890"));
#endif
#endif // _LIBCPP_MOVE
}

View File

@@ -9,24 +9,24 @@
// <string>
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>
// operator+(const basic_string<charT,traits,Allocator>& lhs,
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>
// operator+(const basic_string<charT,traits,Allocator>& lhs,
// const basic_string<charT,traits,Allocator>& rhs);
// template<class charT, class traits, class Allocator>
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>&&
// operator+(const basic_string<charT,traits,Allocator>&& lhs,
// operator+(const basic_string<charT,traits,Allocator>&& lhs,
// const basic_string<charT,traits,Allocator>& rhs);
// template<class charT, class traits, class Allocator>
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>&&
// operator+(const basic_string<charT,traits,Allocator>& lhs,
// operator+(const basic_string<charT,traits,Allocator>& lhs,
// const basic_string<charT,traits,Allocator>&& rhs);
// template<class charT, class traits, class Allocator>
// template<class charT, class traits, class Allocator>
// basic_string<charT,traits,Allocator>&&
// operator+(const basic_string<charT,traits,Allocator>&& lhs,
// operator+(const basic_string<charT,traits,Allocator>&& lhs,
// const basic_string<charT,traits,Allocator>&& rhs);
#include <string>
@@ -62,7 +62,7 @@ test3(S&& lhs, S&& rhs, const S& x)
assert(move(lhs) + move(rhs) == x);
}
#endif
#endif // _LIBCPP_MOVE
typedef std::string S;
@@ -138,5 +138,5 @@ int main()
test3(S("abcdefghijklmnopqrst"), S("1234567890"), S("abcdefghijklmnopqrst1234567890"));
test3(S("abcdefghijklmnopqrst"), S("12345678901234567890"), S("abcdefghijklmnopqrst12345678901234567890"));
#endif
#endif // _LIBCPP_MOVE
}