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

src: Fix misc-unconventional-assign-operator warnings #135

Merged
merged 1 commit into from
Apr 16, 2020

Conversation

stotko
Copy link
Owner

@stotko stotko commented Apr 16, 2020

Assignment operators usually coincide with the copy-assignment operator. However, for some cases such as atomic and atomic_ref, other forms of assignment operators are actually desired. Suppress the related clang-tidy warnings for these cases. Furthermore, fix the wrong return types of the internal iterator proxy classes.

@stotko stotko added the bug label Apr 16, 2020
@stotko stotko added this to the 1.3.0 milestone Apr 16, 2020
@codecov
Copy link

codecov bot commented Apr 16, 2020

Codecov Report

Merging #135 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #135   +/-   ##
=======================================
  Coverage   97.63%   97.63%           
=======================================
  Files          28       28           
  Lines        1694     1694           
=======================================
  Hits         1654     1654           
  Misses         40       40           
Impacted Files Coverage Δ
src/stdgpu/bitset.cuh 100.00% <ø> (ø)
src/stdgpu/impl/atomic_detail.cuh 98.44% <ø> (ø)
src/stdgpu/impl/bitset_detail.cuh 100.00% <ø> (ø)
src/stdgpu/impl/iterator_detail.h 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 560ae32...54919f7. Read the comment docs.

@stotko stotko merged commit abfd82d into master Apr 16, 2020
@stotko stotko deleted the warnings_unconventional_assign_operator branch April 16, 2020 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant