Skip to content

Commit a62256b

Browse files
authored
[mlir] Remove redundant comment(NFC)
The comments in the source file duplicate the documentation already present in the header file `mlir/IR/Types.h`.
1 parent ad3f7d2 commit a62256b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mlir/lib/IR/Types.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ bool Type::isIndex() const { return llvm::isa<IndexType>(*this); }
4646

4747
bool Type::isInteger() const { return llvm::isa<IntegerType>(*this); }
4848

49-
/// Return true if this is an integer type with the specified width.
5049
bool Type::isInteger(unsigned width) const {
5150
if (auto intTy = llvm::dyn_cast<IntegerType>(*this))
5251
return intTy.getWidth() == width;

0 commit comments

Comments
 (0)