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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon May 13 12:39:38 PDT 2024


Author: Daniel Chen
Date: 2024-05-13T15:39:35-04:00
New Revision: bb867b59b86ec48bb8a4e399cbb7ee99c7981d32

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

LOG: [MLIR] NFC: change variable name to lowercase to follow mlir convention. (#91974)

Added: 
    

Modified: 
    mlir/tools/mlir-src-sharder/mlir-src-sharder.cpp

Removed: 
    


################################################################################
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