[Mlir-commits] [mlir] [MLIR] NFC: change variable name to lowercase to follow mlir convention. (PR #91974)

Daniel Chen llvmlistbot at llvm.org
Mon May 13 07:47:37 PDT 2024


https://github.com/DanielCChen created https://github.com/llvm/llvm-project/pull/91974

None

>From a317617e321273e1b281b2937ec3c11184168673 Mon Sep 17 00:00:00 2001
From: cdchen-ca <cdchen at ca.ibm.com>
Date: Mon, 13 May 2024 10:45:41 -0400
Subject: [PATCH] [MLIR] NFC: change variable name to lowercase to follow mlir
 convention.

---
 mlir/tools/mlir-src-sharder/mlir-src-sharder.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mlir/tools/mlir-src-sharder/mlir-src-sharder.cpp b/mlir/tools/mlir-src-sharder/mlir-src-sharder.cpp
index 5bfc24ef3b479..b15f2ce54405a 100644
--- a/mlir/tools/mlir-src-sharder/mlir-src-sharder.cpp
+++ b/mlir/tools/mlir-src-sharder/mlir-src-sharder.cpp
@@ -66,7 +66,7 @@ int main(int argc, char **argv) {
   // of `llvm-tblgen`, which caused `TestOps.cpp` to fail due to
   // "Unknnown command line argument '-D...`" when a macros name is
   // present. The following is a workaround to re-register it again.
-  llvm::cl::list<std::string> MacroNames(
+  llvm::cl::list<std::string> macroNames(
       "D",
       llvm::cl::desc(
           "Name of the macro to be defined -- ignored by mlir-src-sharder"),



More information about the Mlir-commits mailing list