Skip to content

Commit d8ed736

Browse files
committed
Apply clang-tidy fixes for bugprone-macro-parentheses in Utils.cpp (NFC)
1 parent 75e185d commit d8ed736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/GPU/TransformOps/Utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ using namespace mlir::transform::gpu;
4242
#define DEBUG_TYPE "gpu-transforms"
4343

4444
#define DBGS() (llvm::dbgs() << '[' << DEBUG_TYPE << "] ")
45-
#define LDBG(X) LLVM_DEBUG(DBGS() << X << "\n")
45+
#define LDBG(X) LLVM_DEBUG(DBGS() << (X) << "\n")
4646
#define DBGS_ALIAS() (llvm::dbgs() << '[' << DEBUG_TYPE_ALIAS << "] ")
4747

4848
/// Return a flattened thread id for the workgroup with given sizes.

0 commit comments

Comments
 (0)