Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable __cpp_lib_concepts for EDG, part 1 #4296

Merged
merged 39 commits into from
Feb 1, 2024
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
72de60e
Make `ranges::construct_at` call `std::construct_at` on EDG
cpplearner Oct 9, 2023
75fd274
VSO-1161828 DevCom-10156297 EDGcpfe/23297 REPORTED: EDG: wrong preced…
cpplearner Jan 3, 2024
94b23b8
VSO-1898880 EDGcpfe/26641 EDG fails to handle variable template speci…
cpplearner Jan 3, 2024
ae5116f
VSO-1898890 EDGcpfe/26576 EDG produces an error for conversion from a…
cpplearner Jan 3, 2024
22b1235
VSO-1898912 EDGcpfe/26535 EDG does not consider single_view<trivially…
cpplearner Jan 3, 2024
d1d6942
VSO-1898913 EDGcpfe/26534 Befriending an abbreviated function templat…
cpplearner Jan 3, 2024
d27b9be
VSO-1898915 EDGcpfe/23896 EDG produces a hard error for can_three_way…
cpplearner Jan 3, 2024
ee2f18b
VSO-1898929 EDGcpfe/25761 EDG rejects requires-clause in a definition…
cpplearner Jan 3, 2024
0f4a9a0
VSO-1898933 EDGcpfe/26745 EDG rejects parenthesized aggregate initial…
cpplearner Jan 3, 2024
70ecbd1
VSO-1898937 EDGcpfe/23985 EDG's __is_convertible_to depends on whethe…
cpplearner Jan 3, 2024
a269667
VSO-1898939 EDGcpfe/26746 EDG's __is_constructible has wrong value
cpplearner Jan 3, 2024
eb3f1b9
VSO-1898941 EDGcpfe/23985 EDG's default_initializable<const T> has wr…
cpplearner Jan 3, 2024
7067fd1
VSO-1898945 EDGcpfe/23985 EDG's default_initializable<AggregatesExpli…
cpplearner Jan 3, 2024
0564fb7
VSO-1898947 EDGcpfe/26747 EDG's std::nullptr_t has relational operato…
cpplearner Jan 3, 2024
6959375
VSO-1898962 EDGcpfe/26750 EDG constexpr dynamic allocations can't han…
cpplearner Jan 3, 2024
894549c
VSO-1900279 EDGcpfe/26763 EDG: Conditional explicit specifier is chec…
cpplearner Jan 3, 2024
de175b6
VSO-1900281 EDGcpfe/26539 EDG: Variable template is instantiated too …
cpplearner Jan 3, 2024
350387a
VSO-1900290 EDGcpfe/25760 EDG thinks a member does not exist in condi…
cpplearner Jan 3, 2024
082225b
VSO-1900293 EDGcpfe/26577 EDG rejects constrained alias template in a…
cpplearner Jan 3, 2024
743e9fa
VSO-1901430 EDGcpfe/26547 EDG rejects as_const_view with error: atomi…
cpplearner Jan 3, 2024
8753c4c
P0896R4_views_join: EDG ICE with constant-evaluating std::string in d…
cpplearner Jan 3, 2024
b4afb3a
P2322R6_ranges_alg_fold: EDG rejects constant-evaluating vector in de…
cpplearner Jan 3, 2024
ed64238
Make __cpp_lib_concepts not depend on __EDG__
cpplearner Jan 3, 2024
c2f695c
Uncomment `/BE` tests
cpplearner Jan 4, 2024
32f4220
Fix P0898R3_concepts
cpplearner Jan 4, 2024
70c6c8e
VSO-1900291 EDGcpfe/26751 EDG ICE involving pointer arithmetic
cpplearner Jan 5, 2024
07c08df
<ranges>: EDG mishandles a requires-clause that involves a local type…
cpplearner Jan 5, 2024
bc7e59d
Skip parts of ranges tests that seem to make EDG run forever
cpplearner Jan 5, 2024
65cfb73
VSO-1900294 EDGcpfe/26749 EDG: Constrained default constructor causes…
cpplearner Jan 6, 2024
9e9d1ee
Remove `(Clang)` and `(EDG)` from comments
cpplearner Jan 6, 2024
8bdc2c3
Merge branch 'main' into edg-concepts-1
cpplearner Jan 13, 2024
1ec9af8
Report EDG bug VSO-1948896
CaseyCarter Jan 30, 2024
688025a
Report EDG bug VSO-1949414
CaseyCarter Jan 31, 2024
f12c63a
Merge branch 'main' into edg-concepts-1
StephanTLavavej Jan 31, 2024
a8b9271
Work around VSO-1949451 "EDG concepts rejects std::expected trying to…
StephanTLavavej Jan 31, 2024
6b4e30b
Attempt to avoid timeouts in P0896R4_ranges_alg_find_end.
StephanTLavavej Feb 1, 2024
0409b66
Drop "assert bug so we'll notice when it's fixed".
StephanTLavavej Feb 1, 2024
1b4673f
Properly detect MSVC, part 1.
StephanTLavavej Feb 1, 2024
5850a46
Properly detect MSVC, part 2.
StephanTLavavej Feb 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Make ranges::construct_at call std::construct_at on EDG
  • Loading branch information
cpplearner committed Jan 4, 2024

Verified

This commit was signed with the committer’s verified signature.
commit 72de60ed45f707979668ba8087ff12ed2d914ac4
4 changes: 4 additions & 0 deletions stl/inc/memory
Original file line number Diff line number Diff line change
@@ -526,7 +526,11 @@ namespace ranges {
noexcept(noexcept(::new (static_cast<void*>(_Location))
_Ty(_STD forward<_Types>(_Args)...))) /* strengthened */ {
// clang-format on
#ifdef __EDG__
return _STD construct_at(_Location, _STD forward<_Types>(_Args)...);
#else // ^^^ EDG / Other vvv
_MSVC_CONSTEXPR return ::new (static_cast<void*>(_Location)) _Ty(_STD forward<_Types>(_Args)...);
#endif // ^^^ Other ^^^
}
};