Skip to content

[mlir][Interfaces] Fix -Wunused-function#196314

Merged
boomanaiden154 merged 1 commit into
llvm:mainfrom
boomanaiden154:users/boomanaiden154/mlirinterfaces-fix-wunused-function-1
May 7, 2026
Merged

[mlir][Interfaces] Fix -Wunused-function#196314
boomanaiden154 merged 1 commit into
llvm:mainfrom
boomanaiden154:users/boomanaiden154/mlirinterfaces-fix-wunused-function-1

Conversation

@boomanaiden154
Copy link
Copy Markdown
Contributor

These functions are only used inside assert statements, so mark them
[[maybe_unused]] to prevent -Wunused-function when they are used in a
non-asserts build.

These functions are only used inside assert statements, so mark them
[[maybe_unused]] to prevent -Wunused-function when they are used in a
non-asserts build.
@boomanaiden154 boomanaiden154 added the skip-precommit-approval PR for CI feedback, not intended for review label May 7, 2026
@boomanaiden154 boomanaiden154 merged commit 37f826a into llvm:main May 7, 2026
7 of 11 checks passed
yebinchon pushed a commit to yebinchon/llvm-project that referenced this pull request May 7, 2026
These functions are only used inside assert statements, so mark them
[[maybe_unused]] to prevent -Wunused-function when they are used in a
non-asserts build.
moar55 pushed a commit to moar55/llvm-project that referenced this pull request May 12, 2026
These functions are only used inside assert statements, so mark them
[[maybe_unused]] to prevent -Wunused-function when they are used in a
non-asserts build.
pedroMVicente pushed a commit to pedroMVicente/llvm-project that referenced this pull request May 19, 2026
These functions are only used inside assert statements, so mark them
[[maybe_unused]] to prevent -Wunused-function when they are used in a
non-asserts build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mlir:arith mlir skip-precommit-approval PR for CI feedback, not intended for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant