[Mlir-commits] [mlir] 39c0ebd - Apply clang-tidy fixes for readability-identifier-naming in CLOptionsSetup.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Mon Jan 15 20:59:26 PST 2024


Author: Mehdi Amini
Date: 2024-01-15T20:59:12-08:00
New Revision: 39c0ebd5584f0649d36eb2d3f0bc0363c9e40a86

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

LOG: Apply clang-tidy fixes for readability-identifier-naming in CLOptionsSetup.cpp (NFC)

Added: 
    

Modified: 
    mlir/lib/Debug/CLOptionsSetup.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Debug/CLOptionsSetup.cpp b/mlir/lib/Debug/CLOptionsSetup.cpp
index 76330b2a0a92f1..fbea5fdf6b4bbc 100644
--- a/mlir/lib/Debug/CLOptionsSetup.cpp
+++ b/mlir/lib/Debug/CLOptionsSetup.cpp
@@ -43,11 +43,11 @@ struct DebugConfigCLOptions : public DebugConfig {
             "Comma separated list of locations to filter actions from logging"),
         cl::CommaSeparated,
         cl::cb<void, std::string>([&](const std::string &location) {
-          static bool register_once = [&] {
+          static bool registerOnce = [&] {
             addLogActionLocFilter(&locBreakpointManager);
             return true;
           }();
-          (void)register_once;
+          (void)registerOnce;
           static std::vector<std::string> locations;
           locations.push_back(location);
           StringRef locStr = locations.back();


        


More information about the Mlir-commits mailing list