aboutsummaryrefslogtreecommitdiff
path: root/mlir
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2023-10-20 03:23:44 -0700
committerMehdi Amini <joker.eph@gmail.com>2024-01-15 20:59:12 -0800
commit39c0ebd5584f0649d36eb2d3f0bc0363c9e40a86 (patch)
tree25cf43eeac0ec22d74ac4bad38a45bf000fa9ef0 /mlir
parentb984045d4fbd061c6ddb25beeff9797f78b26e27 (diff)
downloadllvm-39c0ebd5584f0649d36eb2d3f0bc0363c9e40a86.zip
llvm-39c0ebd5584f0649d36eb2d3f0bc0363c9e40a86.tar.gz
llvm-39c0ebd5584f0649d36eb2d3f0bc0363c9e40a86.tar.bz2
Apply clang-tidy fixes for readability-identifier-naming in CLOptionsSetup.cpp (NFC)
Diffstat (limited to 'mlir')
-rw-r--r--mlir/lib/Debug/CLOptionsSetup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/lib/Debug/CLOptionsSetup.cpp b/mlir/lib/Debug/CLOptionsSetup.cpp
index 76330b2..fbea5fd 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();