Fixing whitespace problems
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111758 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -50,5 +50,5 @@ int main()
|
||||
assert(f2.sgetc() == L'2');
|
||||
}
|
||||
remove("test.dat");
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -48,5 +48,5 @@ int main()
|
||||
assert(f2.sgetc() == L'2');
|
||||
}
|
||||
remove("test.dat");
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -44,5 +44,5 @@ int main()
|
||||
assert(x == 3.25);
|
||||
}
|
||||
std::remove("test.dat");
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -42,5 +42,5 @@ int main()
|
||||
assert(x == 3.25);
|
||||
}
|
||||
std::remove("test.dat");
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -36,5 +36,5 @@ int main()
|
||||
fs >> x;
|
||||
assert(x == 3.25);
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -34,5 +34,5 @@ int main()
|
||||
fs >> x;
|
||||
assert(x == 3.25);
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -46,5 +46,5 @@ int main()
|
||||
assert(x == 3.25);
|
||||
}
|
||||
remove("test.dat");
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -44,5 +44,5 @@ int main()
|
||||
assert(x == 3.25);
|
||||
}
|
||||
remove("test.dat");
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -37,7 +37,7 @@ struct test_iostream
|
||||
{base::operator=(std::move(s)); return *this;}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -88,5 +88,5 @@ int main()
|
||||
assert(is2.precision() == 6);
|
||||
assert(is2.getloc().name() == "C");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -37,7 +37,7 @@ struct test_iostream
|
||||
: base(std::move(s)) {}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -74,5 +74,5 @@ int main()
|
||||
assert(is.precision() == 6);
|
||||
assert(is.getloc().name() == "C");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -42,7 +42,7 @@ public:
|
||||
CharT* egptr() const {return base::egptr();}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -59,5 +59,5 @@ int main()
|
||||
std::wistream(&sb) >> i;
|
||||
assert(i == 123);
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -37,7 +37,7 @@ struct test_istream
|
||||
{base::operator=(std::move(s)); return *this;}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -88,5 +88,5 @@ int main()
|
||||
assert(is2.precision() == 6);
|
||||
assert(is2.getloc().name() == "C");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -37,7 +37,7 @@ struct test_istream
|
||||
: base(std::move(s)) {}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -74,5 +74,5 @@ int main()
|
||||
assert(is.precision() == 6);
|
||||
assert(is.getloc().name() == "C");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -37,7 +37,7 @@ struct test_ostream
|
||||
{base::operator=(std::move(s)); return *this;}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -88,5 +88,5 @@ int main()
|
||||
assert(os2.precision() == 6);
|
||||
assert(os2.getloc().name() == "C");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -37,7 +37,7 @@ struct test_ostream
|
||||
: base(std::move(s)) {}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -70,5 +70,5 @@ int main()
|
||||
assert(os.precision() == 6);
|
||||
assert(os.getloc().name() == "C");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -53,7 +53,7 @@ protected:
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -68,5 +68,5 @@ int main()
|
||||
std::wostream(&sb) << L"123";
|
||||
assert(sb.str() == L"123");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -21,5 +21,5 @@ int main()
|
||||
#else
|
||||
assert(std::cerr.tie() == &std::cout);
|
||||
assert(std::cerr.flags() & std::ios_base::unitbuf);
|
||||
#endif
|
||||
#endif // 0
|
||||
}
|
||||
|
@@ -22,7 +22,7 @@ int main()
|
||||
std::cout << "Enter a number: ";
|
||||
std::cin >> i;
|
||||
std::cout << "The number is : " << i << '\n';
|
||||
#else
|
||||
#else // 0
|
||||
assert(std::cin.tie() == &std::cout);
|
||||
#endif
|
||||
}
|
||||
|
@@ -21,7 +21,7 @@ int main()
|
||||
std::cout << "Enter a number: ";
|
||||
std::cin >> i;
|
||||
std::cout << "The number is : " << i << '\n';
|
||||
#else
|
||||
#else // 0
|
||||
(void)std::cout;
|
||||
#endif
|
||||
}
|
||||
|
@@ -21,5 +21,5 @@ int main()
|
||||
#else
|
||||
assert(std::wcerr.tie() == &std::wcout);
|
||||
assert(std::wcerr.flags() & std::ios_base::unitbuf);
|
||||
#endif
|
||||
#endif // 0
|
||||
}
|
||||
|
@@ -22,7 +22,7 @@ int main()
|
||||
std::wcout << L"Enter a number: ";
|
||||
std::wcin >> i;
|
||||
std::wcout << L"The number is : " << i << L'\n';
|
||||
#else
|
||||
#else // 0
|
||||
assert(std::wcin.tie() == &std::wcout);
|
||||
#endif
|
||||
}
|
||||
|
@@ -46,5 +46,5 @@ int main()
|
||||
ss >> i;
|
||||
assert(i == 456);
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -44,5 +44,5 @@ int main()
|
||||
ss >> i;
|
||||
assert(i == 456);
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -42,5 +42,5 @@ int main()
|
||||
ss << i << ' ' << 567;;
|
||||
assert(ss.str() == L"234 5676");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -40,5 +40,5 @@ int main()
|
||||
ss << i << ' ' << 567;;
|
||||
assert(ss.str() == L"234 5676");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -48,5 +48,5 @@ int main()
|
||||
ss << i << ' ' << 123;
|
||||
assert(ss.str() == L"456 1236 ");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
@@ -50,5 +50,5 @@ int main()
|
||||
ss << i << ' ' << 123;
|
||||
assert(ss.str() == L"456 1236 ");
|
||||
}
|
||||
#endif
|
||||
#endif // _LIBCPP_MOVE
|
||||
}
|
||||
|
Reference in New Issue
Block a user