-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[mlir] Remove duplicate comment(NFC) #128304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The comments in the source file duplicate the documentation already present in the header file `mlir/IR/Types.h`.
@llvm/pr-subscribers-mlir-core @llvm/pr-subscribers-mlir Author: Longsheng Mou (CoTinker) ChangesThe comments in the source file duplicate the documentation already present in the header file llvm-project/mlir/include/mlir/IR/Types.h Lines 136 to 141 in 876174f
Full diff: https://github.com/llvm/llvm-project/pull/128304.diff 1 Files Affected:
diff --git a/mlir/lib/IR/Types.cpp b/mlir/lib/IR/Types.cpp
index bca90de6f4a8a..6af0c8af51ba0 100644
--- a/mlir/lib/IR/Types.cpp
+++ b/mlir/lib/IR/Types.cpp
@@ -46,7 +46,6 @@ bool Type::isIndex() const { return llvm::isa<IndexType>(*this); }
bool Type::isInteger() const { return llvm::isa<IntegerType>(*this); }
-/// Return true if this is an integer type with the specified width.
bool Type::isInteger(unsigned width) const {
if (auto intTy = llvm::dyn_cast<IntegerType>(*this))
return intTy.getWidth() == width;
|
Ping~ |
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/94/builds/4839 Here is the relevant piece of the build log for the reference
|
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
The comments in the source file duplicate the documentation already present in the header file
mlir/IR/Types.h
.llvm-project/mlir/include/mlir/IR/Types.h
Lines 136 to 141 in 876174f