stotko / stdgpu

stdgpu: Efficient STL-like Data Structures on the GPU
https://stotko.github.io/stdgpu/
Apache License 2.0
1.15k stars 81 forks source link

src: Fix recent clang-tidy warnings #339

Closed stotko closed 1 year ago

stotko commented 1 year ago

With the recent release of clang-tidy 15, some rules are more consistently and stricter enforced. Therefore, handle them and disable the noisy const-correctness warning for now.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: +0.04 :tada:

Comparison is base (ed6ea81) 97.14% compared to head (d7d5264) 97.18%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #339 +/- ## ========================================== + Coverage 97.14% 97.18% +0.04% ========================================== Files 32 32 Lines 2346 2346 ========================================== + Hits 2279 2280 +1 + Misses 67 66 -1 ``` | [Impacted Files](https://codecov.io/gh/stotko/stdgpu/pull/339?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Patrick+Stotko) | Coverage Δ | | |---|---|---| | [src/stdgpu/impl/unordered\_base\_detail.cuh](https://codecov.io/gh/stotko/stdgpu/pull/339?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Patrick+Stotko#diff-c3JjL3N0ZGdwdS9pbXBsL3Vub3JkZXJlZF9iYXNlX2RldGFpbC5jdWg=) | `96.25% <0.00%> (+0.24%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Patrick+Stotko). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Patrick+Stotko)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.