Skip to content

Update to clang 20#18818

Merged
rapids-bot[bot] merged 3 commits intorapidsai:branch-25.06from
bdice:clang-20
May 14, 2025
Merged

Update to clang 20#18818
rapids-bot[bot] merged 3 commits intorapidsai:branch-25.06from
bdice:clang-20

Conversation

@bdice
Copy link
Copy Markdown
Contributor

@bdice bdice commented May 14, 2025

Description

Contributes to rapidsai/build-planning#177

This PR updates the clang version to 20.

@bdice bdice requested review from a team as code owners May 14, 2025 16:21
@bdice bdice added non-breaking Non-breaking change improvement Improvement / enhancement to an existing function labels May 14, 2025
@github-actions github-actions Bot added the libcudf Affects libcudf (C++/CUDA) code. label May 14, 2025
Copy link
Copy Markdown
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

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

There are a surprising number of changes in the formatting here, but they do all look like just formatting so I'm OK with that. As long as it's automated I don't mind too much what the formatting does.

Copy link
Copy Markdown
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

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

Could you do a quick check and see if we can also get the clang-tidy version synced up now? That way we don't need a separate environment for cudf for just clang-tidy.

} // out_ptr ---^
last_pos += (match->second - last_pos.position()); // i:bbbbsssseeee
// in_ptr --^
} // out_ptr ---^
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Argh

@bdice
Copy link
Copy Markdown
Contributor Author

bdice commented May 14, 2025

Could you do a quick check and see if we can also get the clang-tidy version synced up now? That way we don't need a separate environment for cudf for just clang-tidy.

Updated in abf804c. We'll see if it passes.

@vyasr
Copy link
Copy Markdown
Contributor

vyasr commented May 14, 2025

Thanks! If it needs more than small changes to resolve I'd be fine breaking that work off into a follow-up to get the original issue unblocked, but hopefully it's not bad.

@bdice bdice requested a review from a team as a code owner May 14, 2025 17:44
@github-actions github-actions Bot added the CMake CMake build issue label May 14, 2025
Copy link
Copy Markdown
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

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

Thanks! It will make it much easier to improve our clang-tidy setup now that people can use the default version installed into our development environments.

@bdice
Copy link
Copy Markdown
Contributor Author

bdice commented May 14, 2025

/merge

@rapids-bot rapids-bot Bot merged commit dc2d234 into rapidsai:branch-25.06 May 14, 2025
124 checks passed
PointKernel added a commit to NVIDIA/cuCollections that referenced this pull request May 15, 2025
Similar to
[rapidsai/cudf#18818](rapidsai/cudf#18818), this
pull request updates the pre-commit clang-format hook to version 20.1.4.
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.

3 participants