Skip to content

Commit 74e3ea8

Browse files
Update mlir/include/mlir/Transforms/DialectConversion.h
Co-authored-by: Markus Böck <[email protected]>
1 parent c20a361 commit 74e3ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Transforms/DialectConversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ class TypeConverter {
446446
result.push_back(val);
447447
}
448448
} else {
449-
static_assert(false, "T must be a Type or a TypeRange");
449+
static_assert(sizeof(T) == 0, "T must be a Type or a TypeRange");
450450
}
451451
return result;
452452
};

0 commit comments

Comments
 (0)