Skip to content

Commit 24921a9

Browse files
authored
[mlir] Remove duplicate comment(NFC) (#128304)
The comments in the source file duplicate the documentation already present in the header file `mlir/IR/Types.h`. https://github.com/llvm/llvm-project/blob/876174ffd7533dc220f94721173bb767b659fa7f/mlir/include/mlir/IR/Types.h#L136-L141
1 parent 7e8a06c commit 24921a9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mlir/lib/IR/Types.cpp

-1
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)