| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Although CMake adds warning flags, they are ignored in the libc++ headers
because the headers '#pragma system header' themselves.
This patch disables the system header pragma when building libc++ and fixes
the warnings that arose.
The warnings fixed were:
1. <memory> - anonymous structs are a GNU extension
2. <functional> - anonymous structs are a GNU extension.
3. <__hash_table> - Embedded preprocessor directives have undefined behavior.
4. <string> - Definition is missing noexcept from declaration.
5. <__std_stream> - Unused variable.
llvm-svn: 242623
|
| |
|
|
|
|
| |
draft. However I was looking at it and with some experimentation realized that I could partially implement it, and at the same time offer a performance optimization to cout. I simply added an xsputn override to the cout filebuf. The override does nothing special at all if there is a non-trivial codecvt installed. However if the codecvt returns true for always_noconv(), then this function can dump an entire string to fwrite, instead of doing it a character at a time under overflow(). This just makes sense. I stopped short of a full implementation of N3665 because in order to do so, xsputn would have to allocate a buffer when always_noconv() returned false, and I don't want to go to that expense.
llvm-svn: 188077
|
| |
|
|
|
|
| |
http://llvm.org/bugs/show_bug.cgi?id=12158
llvm-svn: 185222
|
| |
|
|
|
|
| |
http://llvm.org/bugs/show_bug.cgi?id=15867
llvm-svn: 181470
|
| |
|
|
|
|
| |
should be no functionality change. Clients should see no ABI differences.
llvm-svn: 177443
|
| |
|
|
|
|
| |
http://stackoverflow.com/questions/15344402/how-can-i-read-a-0xff-in-a-file-with-libc-istream-iterator/15347225#15347225 highlighted the lack of a cast in the implementation of std::cin. Added. I unfortunately don't have a test case to add to the suite since this bug only shows itself when using std::cin. The current testsuite setup does not have a way a good way to test std::cin.
llvm-svn: 176822
|
| |
|
|
| |
llvm-svn: 145624
|
| |
|
|
| |
llvm-svn: 145407
|
| |
|
|
| |
llvm-svn: 142235
|
| |
|
|
| |
llvm-svn: 134190
|
| |
|
|
|
|
| |
qualified (thanks Chris).
llvm-svn: 125510
|
| |
|
|
| |
llvm-svn: 119395
|
| |
|
|
| |
llvm-svn: 103516
|
|
|
llvm-svn: 103490
|