[Mlir-commits] [mlir] d1b63c6 - Apply clang-tidy fixes for readability-avoid-const-params-in-decls to MLIR (NFC)

Mehdi Amini llvmlistbot at llvm.org
Thu Jan 13 18:28:09 PST 2022


Author: Mehdi Amini
Date: 2022-01-14T02:26:28Z
New Revision: d1b63c603aad9f72f6562e4c465f446843bbba43

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

LOG: Apply clang-tidy fixes for readability-avoid-const-params-in-decls to MLIR (NFC)

Added: 
    

Modified: 
    mlir/include/mlir/TableGen/CodeGenHelpers.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/TableGen/CodeGenHelpers.h b/mlir/include/mlir/TableGen/CodeGenHelpers.h
index 573a4fa42460..db753f55cdf0 100644
--- a/mlir/include/mlir/TableGen/CodeGenHelpers.h
+++ b/mlir/include/mlir/TableGen/CodeGenHelpers.h
@@ -203,7 +203,7 @@ class StaticVerifierFunctionEmitter {
 
   /// A generic function to emit constraints
   void emitConstraints(const ConstraintMap &constraints, StringRef selfName,
-                       const char *const codeTemplate);
+                       const char *codeTemplate);
 
   /// Assign a unique name to a unique constraint.
   std::string getUniqueName(StringRef kind, unsigned index);


        


More information about the Mlir-commits mailing list