[Mlir-commits] [mlir] da4d716 - [mlir][ods] Fix incorrect name in comment (NFC)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Nov 13 12:06:57 PST 2021


Author: Mogball
Date: 2021-11-13T20:06:48Z
New Revision: da4d716ef909a3ff466def5e0d6847e6fb5a6cb3

URL: https://github.com/llvm/llvm-project/commit/da4d716ef909a3ff466def5e0d6847e6fb5a6cb3
DIFF: https://github.com/llvm/llvm-project/commit/da4d716ef909a3ff466def5e0d6847e6fb5a6cb3.diff

LOG: [mlir][ods] Fix incorrect name in comment (NFC)

Added: 
    

Modified: 
    mlir/tools/mlir-tblgen/OpFormatGen.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/tools/mlir-tblgen/OpFormatGen.cpp b/mlir/tools/mlir-tblgen/OpFormatGen.cpp
index 59d76f0a8e4b9..0fa0cd78d4816 100644
--- a/mlir/tools/mlir-tblgen/OpFormatGen.cpp
+++ b/mlir/tools/mlir-tblgen/OpFormatGen.cpp
@@ -188,7 +188,7 @@ class CustomDirective : public Element {
     return element->getKind() == Kind::CustomDirective;
   }
 
-  /// Return the name of this optional element.
+  /// Return the name of the custom directive.
   StringRef getName() const { return name; }
 
   /// Return the arguments to the custom directive.


        


More information about the Mlir-commits mailing list