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

cleanup: clang 18 fixes #17949

Merged
merged 4 commits into from
Apr 18, 2024
Merged

cleanup: clang 18 fixes #17949

merged 4 commits into from
Apr 18, 2024

Conversation

rockwotj
Copy link
Contributor

A variety of fixes so the OSS builds cleanly on clang-18

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.3.x
  • v23.2.x

Release Notes

  • none

This check is optin and the docs say to disable if you use enums as
bitflags (which we do), so disable this check.

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
Fix up new findings in clang-18

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
This warning fails because we use enums as flags and the bitwise
combination of flags can be an "invalid" enum value. Disable the
warning.

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
@rockwotj rockwotj requested a review from a team as a code owner April 18, 2024 16:28
@rockwotj rockwotj requested review from hobbseltoff and dotnwat and removed request for a team April 18, 2024 16:28
@rockwotj rockwotj merged commit 31d9358 into redpanda-data:dev Apr 18, 2024
18 checks passed
@rockwotj rockwotj deleted the clang-18 branch April 18, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants