Skip to content

Commit cc14e92

Browse files
DamonFoolzahiraam
authored andcommitted
[mlir][Vector] Fix -Wunused-function in VectorEmulateNarrowType.cpp (NFC)
/data/llvm-project/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp:229:21: error: unused function 'operator<<' [-Werror,-Wunused-function] static raw_ostream &operator<<(raw_ostream &os, ^ 1 error generated.
1 parent eb7cbea commit cc14e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ struct BitCastBitsEnumerator {
226226

227227
} // namespace
228228

229-
static raw_ostream &operator<<(raw_ostream &os,
229+
[[maybe_unused]] static raw_ostream &operator<<(raw_ostream &os,
230230
const SmallVector<SourceElementRangeList> &vec) {
231231
for (const auto &l : vec) {
232232
for (auto it : llvm::enumerate(l)) {

0 commit comments

Comments
 (0)