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

make_shared() For Arrays #309

Merged
merged 62 commits into from
Apr 8, 2020
Merged
Show file tree
Hide file tree
Changes from 61 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
3e6a2ff
Basic implementation
AdamBucior Nov 18, 2019
52de1ba
Update yvals_core.h
AdamBucior Nov 18, 2019
e169d41
Surround max by parens and checking for __cpp_concepts
AdamBucior Nov 19, 2019
dad50ea
Formatting
AdamBucior Nov 19, 2019
07aaa50
Lots of Fixes
AdamBucior Nov 21, 2019
ab24fa6
Transition LLVM-42404
AdamBucior Nov 21, 2019
38e6b83
More Fixes
AdamBucior Nov 21, 2019
a586cd8
Formatting of requires clauses
AdamBucior Nov 28, 2019
77db877
Removed checking for _HAS_CXX20
AdamBucior Nov 28, 2019
5bb85af
Remove indentation before friend declaration
AdamBucior Nov 29, 2019
458424c
Add indentation before requires clause
AdamBucior Nov 29, 2019
d778d04
Fix destruction if initialization throws
AdamBucior Nov 29, 2019
53f3c4d
Feature-test macro
AdamBucior Dec 5, 2019
03bcabb
Merge branch 'master' into make_shared-for-arrays
AdamBucior Dec 5, 2019
11d8d93
Correct Encoding
AdamBucior Dec 5, 2019
e1fd4a1
Replace #if defined with #ifdef
AdamBucior Dec 5, 2019
f929287
Formatting
AdamBucior Dec 5, 2019
04d67e6
Increase feature-test macro only if concepts are supported
AdamBucior Dec 6, 2019
92ef947
Merge branch 'master' into make_shared-for-arrays
AdamBucior Dec 12, 2019
8c98cf2
Update yvals_core.h
AdamBucior Dec 12, 2019
e2ba89b
Optimize for trivially destructible types
AdamBucior Dec 14, 2019
f64bfb0
Mainly readability improvements
AdamBucior Jan 29, 2020
fd8eef9
please be happy clang-format
AdamBucior Jan 29, 2020
d5f0687
oh common clang-format
AdamBucior Jan 29, 2020
e0d0f08
Formatting
AdamBucior Feb 3, 2020
1726327
Merge branch 'master' into make_shared-for-arrays
StephanTLavavej Mar 2, 2020
177bfa2
Added tests for make_shared and allocate_shared for arrays.
ggweinand Mar 3, 2020
f0098a5
GH-482 removed _Max_value.
StephanTLavavej Mar 4, 2020
6722355
Adjust and test feature-test macros.
StephanTLavavej Mar 5, 2020
dcf7dbd
memory already includes xmemory, which includes xutility, which inclu…
StephanTLavavej Mar 5, 2020
7ae0911
Fix test typo affecting coverage.
StephanTLavavej Mar 5, 2020
272afd6
Replace concepts usage with SFINAE.
StephanTLavavej Mar 5, 2020
bdc84c5
Use usual_latest_matrix.lst to test this C++20 feature.
StephanTLavavej Mar 5, 2020
17f2ef6
Fix sign-conversion warnings in the test.
StephanTLavavej Mar 5, 2020
11834ff
Silence SAL annotation warning C28251 in the test.
StephanTLavavej Mar 5, 2020
c80db82
Fix sign-conversion warning, use C++ casts.
StephanTLavavej Mar 5, 2020
f762dee
FIXME: Silence buffer overrun warning C6386.
StephanTLavavej Mar 5, 2020
e076167
Merge branch 'master' into make_shared-for-arrays
StephanTLavavej Mar 6, 2020
07b7b16
_Div_ceil is no longer constexpr
AdamBucior Mar 6, 2020
42b09fe
Merge branch 'master' into make_shared-for-arrays
StephanTLavavej Mar 8, 2020
dbe217a
In friend declarations, don't mark value parameters as const.
StephanTLavavej Mar 11, 2020
22b0262
Adjust comments and class/struct.
StephanTLavavej Mar 11, 2020
00454a2
Flip the specialization of `_Ref_count_unbounded_array`.
StephanTLavavej Mar 11, 2020
68ad0e4
Address some code review comments.
StephanTLavavej Mar 12, 2020
76a8e2c
Drop an unused constructor, use CTAD for guards.
StephanTLavavej Mar 13, 2020
1c9328e
Extract `constexpr size_t _Align`, use injected-class-names.
StephanTLavavej Mar 13, 2020
25d450f
`_Allocate_flexible_array` refactoring, part 1.
StephanTLavavej Mar 13, 2020
0d8aae3
Correct arguments in _Uses_default_destroy
AdamBucior Mar 17, 2020
eba51f7
Merge branch 'master' into make_shared-for-arrays
StephanTLavavej Mar 18, 2020
a39cd1e
Correct allocator in _Uses_default_destroy
AdamBucior Mar 18, 2020
719ba7e
Merge branch 'master' into make_shared-for-arrays
StephanTLavavej Mar 18, 2020
45742a4
`_Allocate_flexible_array` refactoring, part 2.
StephanTLavavej Mar 19, 2020
21d9c48
Address all remaining code review feedback.
StephanTLavavej Mar 20, 2020
7c6b5e4
Merge branch 'master' into make_shared-for-arrays
StephanTLavavej Mar 20, 2020
b7ceade
Merge branch 'master' into make_shared-for-arrays
StephanTLavavej Apr 2, 2020
c8b6d32
More code review improvements.
StephanTLavavej Apr 2, 2020
9959d21
Merge branch 'master' into make_shared-for-arrays
StephanTLavavej Apr 7, 2020
731ab48
Improve comments.
StephanTLavavej Apr 7, 2020
d017e0a
Brace all control flow.
StephanTLavavej Apr 7, 2020
5b4eb44
More test improvements.
StephanTLavavej Apr 7, 2020
0c0cb15
Final test improvements.
StephanTLavavej Apr 7, 2020
e7daab4
More code review feedback.
StephanTLavavej Apr 8, 2020
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
Loading