Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
Alex Guteniev 9ad382e2f5
Update preprocessor `#else` comment in product code to clarify which mode is where (#3900)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-08-10 16:48:21 -07:00
Stephan T. Lavavej 92d050e02b
Drop `#pragma once` in STL headers (#3895) 2023-07-26 11:54:17 -07:00
Stephan T. Lavavej c8594d8596
Fix static analysis warnings (#3734)
Co-authored-by: Dmitry Kobets <89153909+dmitrykobets-msft@users.noreply.github.com>
2023-05-30 17:05:39 -07:00
Rose 73924c1920
Use Brace Lists to initialize objects. (#3277)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-02-02 16:58:02 -08:00
A. Jiang 31defd3719
Strengthen exception specifications for stream types (#3314)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2023-01-21 22:04:05 -08:00
Stephan T. Lavavej 2f03bdf361
P2465R3 Standard Library Modules `std` And `std.compat` (#3108) 2022-09-19 14:47:02 -07:00
Igor Zhukov 3ce4c8fcb9
`<streambuf>`: fix seekpos and seekoff (#2121) 2021-08-26 17:30:44 -07:00
Daniel Marshall 472161105d
Remove SHOUTY BANNERS (#2074)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-08-05 19:33:09 -07:00
Stephan T. Lavavej 68b344c9dc Run clang-format 11; no manual changes. 2020-12-10 09:27:45 -08:00
Stephan T. Lavavej e76f500cb3
Code cleanups (#827) 2020-05-14 15:58:54 -07:00
Nikita Kniazev e59afeab79 <iterator>: reduced parsing time (#355)
* Replaced `<istream>` include with `<iosfwd>` because `[io]stream_iterator`
  needs only `basic_[io]stream` forward declaration.
* Moved `[io]streambuf_iterator` iterator definition to `<iterator>` because
  their definition has to come when `<iterator>` is included.
* Include `<iterator>` in `<xlocmon>`, `<xlocnum>`, and `<xloctime>` as
  the `[io]streambuf_iterator` definition are required there, and `<xutility>`
  already included via other includes.

Parsing times:

| header     |          clang          |           msvc          |
|------------|-------------------------|-------------------------|
| <iterator> | 0.371 -> 0.163 (-56.1%) | 0.216 -> 0.094 (-56.5%) |
| <istream>  | 0.366 -> 0.372 ( +1.6%) | 0.215 -> 0.216 ( +0.5%) |
| <xlocmon>  | 0.358 -> 0.364 ( +1.7%) | 0.211 -> 0.211 (    0%) |
| <xlocnum>  | 0.357 -> 0.360 ( +0.8%) | 0.207 -> 0.208 ( +0.5%) |
| <xloctime> | 0.364 -> 0.370 ( +1.6%) | 0.211 -> 0.214 ( +1.4%) |
2019-12-16 17:04:28 -08:00
practicalswift 7f65140761 Fix typos (#96)
* Fix typos

* Run clang-format on touched files

* Revert clang-format damage
2019-09-17 21:45:12 -06:00
Stephan T. Lavavej 219514876e Initial commit. 2019-09-04 15:57:56 -07:00