Skip to content

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented Feb 12, 2025

Problem:

  • LLVM18 clang-tidy flags handled as able to be declared const. This is wrong, but what we're actually doing here is better expressed as transform_reduce on the bitset.

Solution:

  • Use transform_reduce.

Note:

  • transform_reduce is the operation here because we do not want to shortcut handling the message. any_of would be correct for that use case.

Problem:
- LLVM18 clang-tidy flags `handled` as able to be declared `const`. This is
  wrong, but what we're actually doing here is better expressed as
  `transform_reduce` on the bitset.

Solution:
- Use `transform_reduce`.

Note:
- `transform_reduce` is the operation here because we do not want to shortcut
  handling the message. `any_of` would be correct for that use case.
@elbeno elbeno merged commit 5fd1bbd into intel:main Feb 12, 2025
22 checks passed
@elbeno elbeno deleted the update-stdx branch February 13, 2025 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants