Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

Commit 48c1bb6

Browse files
fschlimbMacDuerengolin
authored
eliminating g++ warnings (#105520)
Eliminating g++ warnings. Mostly declaring "[[maybe_unused]]", adding return statements where missing and fixing casts. rengolin --------- Co-authored-by: Benjamin Maxwell <[email protected]> Co-authored-by: Renato Golin <[email protected]>
1 parent 94300a6 commit 48c1bb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/lib/CAPI/IR/IR.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,7 @@ static mlir::WalkResult unwrap(MlirWalkResult result) {
736736
case MlirWalkResultSkip:
737737
return mlir::WalkResult::skip();
738738
}
739+
llvm_unreachable("unknown result in WalkResult::unwrap");
739740
}
740741

741742
void mlirOperationWalk(MlirOperation op, MlirOperationWalkCallback callback,

0 commit comments

Comments
 (0)