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

Apply clang-tidy autofixes from new rules #17431

Merged
merged 11 commits into from
Dec 3, 2024

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Nov 23, 2024

Description

This PR contains all of clang-tidy's autofixes for the rules outlined in #17410. In the process I simplified the process of performing autofixes locally.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@vyasr vyasr added libcudf Affects libcudf (C++/CUDA) code. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Nov 23, 2024
@vyasr vyasr self-assigned this Nov 23, 2024
@vyasr vyasr requested review from a team as code owners November 23, 2024 02:41
@github-actions github-actions bot added the CMake CMake build issue label Nov 23, 2024
cpp/src/io/comp/comp.cpp Outdated Show resolved Hide resolved
@vyasr vyasr force-pushed the chore/autofix_clang_tidy branch from 8955623 to 7111ae2 Compare December 2, 2024 23:16
@vyasr vyasr requested review from davidwendt and vuule December 2, 2024 23:21
Copy link
Contributor

@vuule vuule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

cpp/src/table/table_view.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@davidwendt davidwendt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Copy link
Contributor

@bdice bdice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving CI / CMake changes.

@vyasr
Copy link
Contributor Author

vyasr commented Dec 3, 2024

/merge

@rapids-bot rapids-bot bot merged commit d3e94d4 into rapidsai:branch-25.02 Dec 3, 2024
105 checks passed
@vyasr vyasr deleted the chore/autofix_clang_tidy branch December 3, 2024 18:05
@jlowe
Copy link
Contributor

jlowe commented Dec 4, 2024

Discovered this broke libcudf compilation when libcudf logging is disabled, filed #17510.

rapids-bot bot pushed a commit that referenced this pull request Dec 4, 2024
Adds `[[maybe_unused]]` to the `compression_type_name` function to prevent the warning/error.
Error/warning introduced in #17431
Closes #17510

Authors:
  - David Wendt (https://github.com/davidwendt)

Approvers:
  - Muhammad Haseeb (https://github.com/mhaseeb123)
  - MithunR (https://github.com/mythrocks)
  - Vukasin Milovanovic (https://github.com/vuule)
  - Jason Lowe (https://github.com/jlowe)

URL: #17512
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake CMake build issue improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants