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

583 Коммитов

Автор SHA1 Сообщение Дата
Casey Carter c2ab52288e
Correct overly-strengthened noexcept-specifier for basic_string_view constructor (#1510) 2020-12-02 15:41:39 -08:00
Curtis J Bezault f47e123215
Add a pragma comment to pull in the synchronization lib (#1507) 2020-12-02 15:35:55 -08:00
fsub 89c9592d1e
valarray: Fix delete in order to satisfy ASan (#1496)
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Curtis Jacques Bezault <curtbezault@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-12-02 15:29:21 -08:00
Adam Bucior 9bb2a983df
P1771R1 [[nodiscard]] For Constructors (#1495)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-12-02 15:10:23 -08:00
Casey Carter 39ee107c95
LWG-3460 Unimplementable noop_coroutine_handle guarantees (#1452)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-12-02 15:06:02 -08:00
futuarmo 6fe20e62a2
LWG-3170 deprecated std::allocator<T>::is_always_equal (#1501)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-12-01 15:39:26 -08:00
Billy O'Neal 691346f20c
Correct comment for _List_val::_Sort. (#1476) 2020-12-01 15:33:34 -08:00
statementreply cbd2b1c9b8
<compare>: Improve floating-point spaceship CPO codegen (#1475)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2020-12-01 15:26:22 -08:00
Sam Huang b4af6e98f8
_NODISCARD for function objects (#1474) 2020-12-01 15:13:35 -08:00
futuarmo a92064eeca
LWG-3211 std::tuple<> should be trivially constructible (#1460)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2020-12-01 15:00:49 -08:00
Stephan T. Lavavej d06561f891
Code cleanups: Unify _Float_traits and _Floating_type_traits (#1442) 2020-12-01 14:51:25 -08:00
Stephan T. Lavavej 19c683d706
Skip the flaky parts of VSO_0226079_mutex. (#1473) 2020-11-13 18:16:31 -08:00
Michael Schellenberger Costa 560bcea81b
Remove comments for resolved LWG issues (#1456)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-11-13 18:11:08 -08:00
Stephan T. Lavavej ff4c45b028
README.md: Add llvm-project and --progress to the initial submodule sync. (#1441) 2020-11-13 18:06:31 -08:00
Avinal Kumar 8b6e9600ca
Updated _MSVC_STL_UPDATE to November 2020 (#1439) 2020-11-13 18:03:25 -08:00
Hamid Reza Arzaghi 9145bf4542
Tests using /analyze:only should also use /analyze:autolog- (#1434) 2020-11-13 17:55:05 -08:00
Stephan T. Lavavej ea156e730c
VS 2019 16.9 Preview 1 toolset update (#1451) 2020-11-13 13:29:26 -08:00
statementreply 9959929c77
<complex>: Improve numerical accuracy of sqrt and log (#935)
* Fix undue overflow and underflow in complex sqrt

Modifies the scale factors in `_Fabs` (used by `sqrt`) such that:

- `_Fabs` doesn't underflow when the input is tiny.

- `sqrt` doesn't overflow when the input is huge.

* Improve accuracy of `log` when |z| is close to 1

When |z| is close to 1, compute log(|z|) as log1p(norm_minus_1(z)) / 2,
where norm_minus_1(z) = real(z) ^ 2 + imag(z) ^ 2 - 1 computed with
double width arithmetic to avoid catastrophic cancellation.

* Fix log(complex{1, tiny}) incorrectly returning -0 under FE_DOWNWARD

Co-authored-by: Curtis J Bezault <curtbezault@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-11-09 15:24:43 -08:00
Stephan T. Lavavej 51ccd93319
Port MSVC-internal changes, again (#1431) 2020-11-06 21:20:10 -08:00
Stephan T. Lavavej f873f515af
README.md: Update DevCom and Pipelines links (#1427) 2020-11-06 17:02:24 -08:00
futuarmo 10d8e33a67
Extracted _Choice<T>._Strategy to variable (#1426)
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-11-06 16:58:33 -08:00
Casey Carter 04eca1ccce
hash<coroutine_handle<>>::operator() should be const (#1423)
Fixes #1422.
2020-11-06 16:53:02 -08:00
Casey Carter 12a0e83ded
Rename _Iterator_base to _Category_base in <ranges> (#1420)
Fixes #1418.
2020-11-06 16:47:37 -08:00
Stephan T. Lavavej 0249612c21
Fix noexcept(noexcept(is_nothrow_v)) (#1417) 2020-11-06 16:42:32 -08:00
Casey Carter 231df15261
Always remove_cvref_t the argument to enable_borrowed_range (#1415)
... especially in these view tests.
2020-11-06 16:37:12 -08:00
Stephan T. Lavavej 7e07ed8188
Improve type traits usage (#1413) 2020-11-06 16:31:40 -08:00
Casey Carter 537863aefa
Move from rvalue range adaptor closures (#1410) 2020-11-06 16:20:20 -08:00
Michael Schellenberger Costa 7fd6501ece
Implement ranges::elements_view (#1406)
Co-authored-by: S. B. Tam <cpplearner@outlook.com>
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-11-06 16:08:41 -08:00
Stephan T. Lavavej a6f285db8a
Include <cmeow> instead of <meow.h> (#1405) 2020-11-06 15:34:14 -08:00
Michael Schellenberger Costa 4c3942703e
Implement ranges::take_while_view (#1372)
Co-authored-by: Casey Carter <cacarter@microsoft.com>
2020-11-06 15:29:14 -08:00
Michael Schellenberger Costa 1093aa6982
Implement ranges::drop_while_view (#1366)
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2020-11-06 15:23:39 -08:00
Hamid Reza Arzaghi 0650fa4a8d
Prevent crash when custom streambuf implementation throws (#1358)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-11-06 15:16:10 -08:00
MattStephanson 6458199849
<chrono>: [time.duration.io] output (#1341)
Co-authored-by: mnatsuhara <46756417+mnatsuhara@users.noreply.github.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-11-06 14:40:18 -08:00
Charles Milette 26bbe2ad50
<cmath>: Use intrinsics where possible (#1336)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-11-06 14:30:33 -08:00
Curtis J Bezault 32fe05b349
Accelerate tests by dividing them into shards (#1414)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-11-06 14:24:36 -08:00
Curtis J Bezault 9ee552969c
Let's rewrite the test harness (#1394)
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-11-06 13:57:46 -08:00
Stephan T. Lavavej 185654c523
Shrink DLL 2% by removing dead code for Windows XP (#1397) 2020-11-03 19:21:30 -08:00
Michael Schellenberger Costa 2380824901
Implement views::counted (#1375) 2020-11-03 19:19:35 -08:00
Michael Schellenberger Costa 332fd32545
Implement ranges::common_view (#1305)
Partially addresses #39.

Co-authored-by: Adam Bucior <35536269+AdamBucior@users.noreply.github.com>
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2020-11-03 18:03:28 -08:00
Stephan T. Lavavej 2b4cf99c04
Update the <ranges> header unit test (#1396) 2020-10-29 15:08:22 -07:00
futuarmo 6e254cf3b6
tr1: Construct initializer_lists with Standard code (#1400)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: Casey Carter <cartec69@gmail.com>
2020-10-29 01:13:04 -07:00
Stephan T. Lavavej f1faed98c7
Move structs into unnamed namespaces (#1398) 2020-10-29 01:08:38 -07:00
Casey Carter 374736a9cc
Fix inconsistencies in range adaptor tests (#1393) 2020-10-29 01:04:18 -07:00
futuarmo 8685c3558c
Changed unsigned to unsigned int due to convention (#1390)
Co-authored-by: Casey Carter <cacarter@microsoft.com>
2020-10-29 00:59:58 -07:00
Stephan T. Lavavej 1469bf36dc
Finish P0768R1 by adding Spaceship CPOs (#1370)
Co-authored-by: Casey Carter <cartec69@gmail.com>
2020-10-29 00:48:50 -07:00
Hamid Reza Arzaghi f6c8d335c4
<xtree>: Fix _Tree move constructor/assignment (#1357)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-10-29 00:38:16 -07:00
Michael Schellenberger Costa b8bae92add
Implement ranges::istream_view (#1334)
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2020-10-29 00:33:04 -07:00
Hamid Reza Arzaghi 372021d21c
<iomanip>: fixes get_time to parse without delimiters (#1280)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-10-29 00:19:41 -07:00
Adam Bucior a27d894d63
Use memset in even more cases (#1273)
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-10-29 00:12:36 -07:00
Casey Carter ae31b78db8
Update LLVM reference (#1090)
Co-authored-by: Curtis Bezault <cubezaul@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2020-10-28 23:56:03 -07:00