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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon May 13 07:48:08 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir

@llvm/pr-subscribers-mlir-core

Author: Daniel Chen (DanielCChen)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/91974.diff


1 Files Affected:

- (modified) mlir/tools/mlir-src-sharder/mlir-src-sharder.cpp (+1-1) 


``````````diff
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"),

``````````

</details>


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


More information about the Mlir-commits mailing list