-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
src: disallow copy/move fns/constructors #56811
base: main
Are you sure you want to change the base?
Conversation
6eb550e
to
a7cb2f1
Compare
a7cb2f1
to
434c008
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Co-authored-by: Chengzhong Wu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should include the class name in the commit message
@anonrig I pushed a minor fix. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #56811 +/- ##
==========================================
- Coverage 89.21% 89.21% -0.01%
==========================================
Files 663 663
Lines 192012 192002 -10
Branches 36928 36919 -9
==========================================
- Hits 171306 171285 -21
- Misses 13580 13587 +7
- Partials 7126 7130 +4
|
Following @addaleax's recommendation on #56452 (comment), let's disallow copy/move functions and constructors on MaybeStackBuffer.