[Mlir-commits] [mlir] 70fdaef - Apply clang-tidy fixes for bugprone-macro-parentheses in NVGPUTransformOps.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Thu Jan 25 11:33:36 PST 2024
Author: Mehdi Amini
Date: 2024-01-25T11:33:05-08:00
New Revision: 70fdaefe1fdd35c8b5633724a2ddc9ba0a8a5435
URL: https://github.com/llvm/llvm-project/commit/70fdaefe1fdd35c8b5633724a2ddc9ba0a8a5435
DIFF: https://github.com/llvm/llvm-project/commit/70fdaefe1fdd35c8b5633724a2ddc9ba0a8a5435.diff
LOG: Apply clang-tidy fixes for bugprone-macro-parentheses in NVGPUTransformOps.cpp (NFC)
Added:
Modified:
mlir/lib/Dialect/NVGPU/TransformOps/NVGPUTransformOps.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/NVGPU/TransformOps/NVGPUTransformOps.cpp b/mlir/lib/Dialect/NVGPU/TransformOps/NVGPUTransformOps.cpp
index aebdd0a4ee41479..4cfec26c87440b7 100644
--- a/mlir/lib/Dialect/NVGPU/TransformOps/NVGPUTransformOps.cpp
+++ b/mlir/lib/Dialect/NVGPU/TransformOps/NVGPUTransformOps.cpp
@@ -40,7 +40,7 @@ using namespace mlir::transform;
#define DEBUG_TYPE "nvgpu-transforms"
#define DBGS() (llvm::dbgs() << "[" DEBUG_TYPE "]: ")
#define DBGSNL() (llvm::dbgs() << "\n")
-#define LDBG(X) LLVM_DEBUG(DBGS() << X << "\n")
+#define LDBG(X) LLVM_DEBUG(DBGS() << (X) << "\n")
//===----------------------------------------------------------------------===//
// Apply...ConversionPatternsOp
More information about the Mlir-commits
mailing list