[Mlir-commits] [mlir] a86b957 - Apply clang-tidy fixes for bugprone-macro-parentheses to MLIR (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Sat Jan 1 17:20:19 PST 2022
Author: Mehdi Amini
Date: 2022-01-02T01:20:01Z
New Revision: a86b957fd766e458eca3d61f9010610ac76d4cd7
URL: https://github.com/llvm/llvm-project/commit/a86b957fd766e458eca3d61f9010610ac76d4cd7
DIFF: https://github.com/llvm/llvm-project/commit/a86b957fd766e458eca3d61f9010610ac76d4cd7.diff
LOG: Apply clang-tidy fixes for bugprone-macro-parentheses to MLIR (NFC)
Reviewed By: rriddle, Mogball
Differential Revision: https://reviews.llvm.org/D116354
Added:
Modified:
mlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp b/mlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
index e2edc9d152671..31ebbac73a27e 100644
--- a/mlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
+++ b/mlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
@@ -30,7 +30,7 @@ namespace comprehensive_bufferize {
#define DEBUG_TYPE "bufferizable-op-interface"
#define DBGS() (llvm::dbgs() << '[' << DEBUG_TYPE << "] ")
-#define LDBG(X) LLVM_DEBUG(DBGS() << X)
+#define LDBG(X) LLVM_DEBUG(DBGS() << (X))
using namespace mlir;
using namespace linalg::comprehensive_bufferize;
More information about the Mlir-commits
mailing list